Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 108.8 kB / 16.41 MB, free: 6.461 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.001632/0.001632, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.567/2.567, allocations: 472.7 MB / 0.746 GB, free: 476 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7602, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.0033/0.7635, allocations: 2.006 MB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.7648, allocations: 0.6441 MB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.765, allocations: 0 / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.496e-05/0.7651, allocations: 19.73 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.7653, allocations: 55.52 kB / 1.229 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.7658, allocations: 163.6 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.7662, allocations: 279.3 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.7663, allocations: 72.25 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.7665, allocations: 111.6 kB / 1.23 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.7666, allocations: 123.5 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.7667, allocations: 28 kB / 1.23 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.397e-05/0.7667, allocations: 24 kB / 1.23 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.7668, allocations: 51.83 kB / 1.23 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.7669, allocations: 115.4 kB / 1.23 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.7672, allocations: 263.5 kB / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.7672, allocations: 0 / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7672, allocations: 0 / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.7672, allocations: 0 / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001236/0.7685, allocations: 0.6383 MB / 1.231 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.7685, allocations: 8.031 kB / 1.231 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.7686, allocations: 24.8 kB / 1.231 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.769, allocations: 281.4 kB / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.769, allocations: 8.375 kB / 1.231 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.7691, allocations: 12.38 kB / 1.231 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.7697, allocations: 244.4 kB / 1.231 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.7697, allocations: 3.938 kB / 1.231 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.7698, allocations: 7.984 kB / 1.231 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.7698, allocations: 4 kB / 1.231 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008387/0.7706, allocations: 223.7 kB / 1.232 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/0.7714, allocations: 0.5158 MB / 1.232 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009751/0.7724, allocations: 258.5 kB / 1.232 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.7728, allocations: 127.6 kB / 1.232 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.7728, allocations: 4 kB / 1.232 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005271/0.7734, allocations: 191.1 kB / 1.233 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.7734, allocations: 0 / 1.233 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.001348/0.7747, allocations: 391.1 kB / 1.233 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.7748, allocations: 51.41 kB / 1.233 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.775, allocations: 215 kB / 1.233 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.775, allocations: 29.7 kB / 1.233 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.7751, allocations: 132.3 kB / 1.233 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.7751, allocations: 51.62 kB / 1.233 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.7752, allocations: 37.61 kB / 1.233 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.7753, allocations: 326.8 kB / 1.234 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.7758, allocations: 128.7 kB / 1.234 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.7762, allocations: 114.5 kB / 1.234 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/0.777, allocations: 268.1 kB / 1.234 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.777, allocations: 0 / 1.234 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009305/0.7779, allocations: 370.2 kB / 1.235 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/0.778, allocations: 63.39 kB / 1.235 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.778, allocations: 0 / 1.235 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.778, allocations: 4 kB / 1.235 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.7783, allocations: 51.88 kB / 1.235 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.7783, allocations: 0 / 1.235 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.7786, allocations: 43.84 kB / 1.235 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.7787, allocations: 8 kB / 1.235 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004267/0.7791, allocations: 200 kB / 1.235 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003393/0.7794, allocations: 107.8 kB / 1.235 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006826/0.7801, allocations: 262 kB / 1.235 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.7801, allocations: 0 / 1.235 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.000817/0.781, allocations: 340.7 kB / 1.236 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.781, allocations: 68.73 kB / 1.236 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.781, allocations: 4 kB / 1.236 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-06/0.781, allocations: 0 / 1.236 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.7813, allocations: 39.95 kB / 1.236 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.7813, allocations: 4 kB / 1.236 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.7815, allocations: 47.83 kB / 1.236 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.7816, allocations: 4 kB / 1.236 GB, free: 3.426 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (HMea.count,$PRE.HMea.count,HMea.T_start,$PRE.HMea.T_start,TMea.count,$PRE.TMea.count,TMea.T_start,$PRE.TMea.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001004/0.7817, allocations: 194.9 kB / 1.236 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.7817, allocations: 23.8 kB / 1.236 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.7818, allocations: 29.52 kB / 1.236 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.7818, allocations: 4 kB / 1.236 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7818, allocations: 0 / 1.236 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.7818, allocations: 89.02 kB / 1.236 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.7819, allocations: 7.984 kB / 1.236 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.7822, allocations: 31.95 kB / 1.236 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/0.7823, allocations: 31.95 kB / 1.236 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001134/0.7834, allocations: 380.6 kB / 1.237 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009601/0.7844, allocations: 461.3 kB / 1.237 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004403/0.7848, allocations: 127.9 kB / 1.237 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001195/0.785, allocations: 148.6 kB / 1.237 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of Backend: time 4.91e-07/0.785, allocations: 0 / 1.237 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.7863, allocations: 0.568 MB / 1.238 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007522/0.787, allocations: 0.775 MB / 1.239 GB, free: 440 kB / 0.9512 GB Notification: Performance of Templates: time 0.007806/0.7948, allocations: 4.254 MB / 1.243 GB, free: 12.22 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches