Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008555/0.008555, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 197 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.88 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.045, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008312/1.053, allocations: 6.049 MB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.243/1.296, allocations: 155.3 MB / 1.245 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/1.298, allocations: 25.38 kB / 1.245 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006759/1.305, allocations: 1.778 MB / 1.247 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003675/1.309, allocations: 0.7463 MB / 1.248 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0034/1.312, allocations: 1.016 MB / 1.249 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004691/1.317, allocations: 3.365 MB / 1.252 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/1.319, allocations: 0.9555 MB / 1.253 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/1.321, allocations: 1.138 MB / 1.254 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/1.323, allocations: 1.031 MB / 1.255 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006714/1.324, allocations: 200 kB / 1.255 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005364/1.329, allocations: 2.239 MB / 1.257 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002786/1.332, allocations: 2.039 MB / 1.259 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004267/1.336, allocations: 2.122 MB / 1.261 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/1.349, allocations: 7.784 MB / 1.269 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/1.349, allocations: 3.984 kB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.365e-06/1.349, allocations: 0 / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001382/1.349, allocations: 0 / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.01716/1.366, allocations: 6.204 MB / 1.275 GB, free: 13.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/1.366, allocations: 12.03 kB / 1.275 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005923/1.367, allocations: 194.5 kB / 1.275 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/1.37, allocations: 463.5 kB / 1.276 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9611/2.331, allocations: 321.1 MB / 1.589 GB, free: 448.8 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/2.331, allocations: 135.1 kB / 1.589 GB, free: 448.8 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000355/2.331, allocations: 180.7 kB / 1.59 GB, free: 448.7 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00336/2.335, allocations: 1.673 MB / 1.591 GB, free: 448.1 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/2.335, allocations: 0 / 1.591 GB, free: 448.1 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/2.335, allocations: 50 kB / 1.591 GB, free: 448 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/2.335, allocations: 32.59 kB / 1.591 GB, free: 448 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/2.338, allocations: 1.728 MB / 1.593 GB, free: 447.6 MB / 1.311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06907/2.407, allocations: 76.56 MB / 1.668 GB, free: 410.2 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/2.409, allocations: 1.587 MB / 1.669 GB, free: 408.7 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/2.41, allocations: 1.034 MB / 1.67 GB, free: 407.8 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 8.662e-05/2.411, allocations: 40.72 kB / 1.67 GB, free: 407.8 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/2.412, allocations: 0.9739 MB / 1.671 GB, free: 406.9 MB / 1.311 GB Notification: Performance of pre-optimization done (n=118): time 2.535e-06/2.412, allocations: 0 / 1.671 GB, free: 406.9 MB / 1.311 GB Notification: Performance of matching and sorting (n=118): time 0.005527/2.417, allocations: 3.018 MB / 1.674 GB, free: 404.2 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001736/2.418, allocations: 339.2 kB / 1.675 GB, free: 403.8 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3744/2.792, allocations: 379.7 MB / 2.045 GB, free: 24.66 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0008615/2.793, allocations: 69.7 kB / 2.045 GB, free: 24.59 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.003456/2.796, allocations: 1.601 MB / 2.047 GB, free: 22.99 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007924/2.797, allocations: 389.7 kB / 2.047 GB, free: 22.62 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/2.799, allocations: 0.508 MB / 2.048 GB, free: 22.1 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/2.799, allocations: 313.1 kB / 2.048 GB, free: 21.79 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/2.801, allocations: 1.439 MB / 2.049 GB, free: 20.35 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/2.804, allocations: 2.162 MB / 2.052 GB, free: 17.87 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/2.808, allocations: 3.547 MB / 2.055 GB, free: 14.02 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.869e-05/2.808, allocations: 7.719 kB / 2.055 GB, free: 14.02 MB / 1.311 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.007403/2.816, allocations: 4.254 MB / 2.059 GB, free: 9.746 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.000169/2.816, allocations: 185.6 kB / 2.059 GB, free: 9.559 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/2.816, allocations: 28.7 kB / 2.059 GB, free: 9.531 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/2.816, allocations: 32 kB / 2.059 GB, free: 9.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/2.817, allocations: 475.2 kB / 2.06 GB, free: 9.035 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-05/2.818, allocations: 43.86 kB / 2.06 GB, free: 8.992 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/2.821, allocations: 0.5471 MB / 2.06 GB, free: 8.441 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/2.821, allocations: 115.9 kB / 2.061 GB, free: 8.328 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002559/2.824, allocations: 1.668 MB / 2.062 GB, free: 6.645 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002196/2.826, allocations: 351.3 kB / 2.063 GB, free: 6.297 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/2.831, allocations: 3.027 MB / 2.066 GB, free: 3.25 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/2.831, allocations: 16 kB / 2.066 GB, free: 3.234 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/2.831, allocations: 0 / 2.066 GB, free: 3.234 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/2.831, allocations: 3.984 kB / 2.066 GB, free: 3.23 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008343/2.84, allocations: 2.825 MB / 2.068 GB, free: 376 kB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/2.84, allocations: 8 kB / 2.068 GB, free: 368 kB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007315/2.84, allocations: 159.7 kB / 2.068 GB, free: 208 kB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/2.84, allocations: 4 kB / 2.068 GB, free: 204 kB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/2.841, allocations: 35.97 kB / 2.068 GB, free: 168 kB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/2.841, allocations: 4 kB / 2.069 GB, free: 164 kB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.841, allocations: 0 / 2.069 GB, free: 164 kB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007403/2.848, allocations: 2.818 MB / 2.071 GB, free: 13.31 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004379/2.852, allocations: 1.237 MB / 2.072 GB, free: 12.05 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001953/2.854, allocations: 27.94 kB / 2.072 GB, free: 12.02 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/2.858, allocations: 301.5 kB / 2.073 GB, free: 11.73 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/2.858, allocations: 80.89 kB / 2.073 GB, free: 11.65 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/2.858, allocations: 55.97 kB / 2.073 GB, free: 11.6 MB / 1.326 GB Notification: Performance of sorting global known variables: time 1.032/3.89, allocations: 305.3 MB / 2.371 GB, free: 253.6 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.723e-06/3.89, allocations: 0 / 2.371 GB, free: 253.6 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.008575/3.899, allocations: 1.214 MB / 2.372 GB, free: 252.5 MB / 1.342 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01221/3.911, allocations: 4.239 MB / 2.376 GB, free: 248.8 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.006789/3.918, allocations: 4.621 MB / 2.381 GB, free: 244.2 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/3.918, allocations: 3.938 kB / 2.381 GB, free: 244.2 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.002613/3.921, allocations: 2.239 MB / 2.383 GB, free: 241.9 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005898/3.927, allocations: 479.3 kB / 2.384 GB, free: 241.5 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.235/7.162, allocations: 1.504 GB / 3.888 GB, free: 277 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002491/7.164, allocations: 2.356 MB / 3.89 GB, free: 274.6 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003199/7.167, allocations: 1.247 MB / 3.891 GB, free: 273.4 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002954/7.17, allocations: 1.761 MB / 3.893 GB, free: 271.7 MB / 1.342 GB Notification: Performance of SimCode: time 1.532e-06/7.17, allocations: 0 / 3.893 GB, free: 271.7 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7979/7.968, allocations: 254 MB / 4.141 GB, free: 19.08 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/24.28, allocations: 8.484 kB / 4.141 GB, free: 19.07 MB / 1.342 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches