Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.00127/0.00127, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.001229/0.001229, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 71.83 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7546/0.7561, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003003/0.7592, allocations: 2.005 MB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009819/0.7602, allocations: 0.6508 MB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.7603, allocations: 6.125 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.191e-05/0.7603, allocations: 20.3 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.7605, allocations: 44.44 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.7609, allocations: 159.8 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000312/0.7613, allocations: 293.9 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.7614, allocations: 69.62 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.7615, allocations: 112.4 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.7617, allocations: 117.3 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.7618, allocations: 29.78 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.7618, allocations: 25 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.7619, allocations: 57.89 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.762, allocations: 104 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.7623, allocations: 268.4 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7623, allocations: 0.8438 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7623, allocations: 0.5156 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.7623, allocations: 0.75 kB / 1.092 GB, free: 2.996 MB / 0.8575 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.001219/0.7636, allocations: 0.628 MB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.7636, allocations: 9.828 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.17e-05/0.7637, allocations: 23.81 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.7641, allocations: 270.4 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.7642, allocations: 15.11 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.7642, allocations: 15.08 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007341/0.7649, allocations: 248.8 kB / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.765, allocations: 0.75 kB / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.765, allocations: 6.297 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.765, allocations: 2.812 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009359/0.7659, allocations: 225.2 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007583/0.7667, allocations: 0.515 MB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.7678, allocations: 264.2 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/0.7683, allocations: 118.7 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.7683, allocations: 2.391 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006228/0.769, allocations: 191.6 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.769, allocations: 4 kB / 1.095 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.001584/0.7706, allocations: 382.8 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.7706, allocations: 58.84 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.7709, allocations: 210.9 kB / 1.096 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.7709, allocations: 33.45 kB / 1.096 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.771, allocations: 127 kB / 1.096 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.771, allocations: 45.86 kB / 1.096 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.7711, allocations: 46.64 kB / 1.096 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.7712, allocations: 333.5 kB / 1.096 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.7717, allocations: 118.5 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/0.7722, allocations: 116 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009742/0.7732, allocations: 276.1 kB / 1.097 GB, free: 452 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7732, allocations: 0 / 1.097 GB, free: 452 kB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001136/0.7743, allocations: 372.9 kB / 1.097 GB, free: 276 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.7744, allocations: 60.25 kB / 1.097 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.7744, allocations: 0 / 1.097 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7744, allocations: 1.25 kB / 1.097 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.7747, allocations: 44.55 kB / 1.097 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.7748, allocations: 4.938 kB / 1.097 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.7751, allocations: 39.62 kB / 1.097 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.7751, allocations: 6.141 kB / 1.097 GB, free: 204 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004938/0.7756, allocations: 197.1 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004143/0.7761, allocations: 117.9 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000821/0.7769, allocations: 254.2 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.7769, allocations: 0 / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0009853/0.7779, allocations: 343.7 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.7779, allocations: 64.72 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.778, allocations: 0.6562 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.778, allocations: 1.062 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.7782, allocations: 48.2 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.7783, allocations: 0.6562 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.7786, allocations: 41.11 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.7786, allocations: 12.53 kB / 1.098 GB, free: 15.7 MB / 0.8731 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.0001483/0.7787, allocations: 186.2 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.7788, allocations: 20.83 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.7789, allocations: 24.66 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.7789, allocations: 2.094 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7789, allocations: 0 / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.779, allocations: 95.06 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.779, allocations: 6.984 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.7793, allocations: 42.05 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.7795, allocations: 31.05 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001312/0.7808, allocations: 387.7 kB / 1.099 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00109/0.7819, allocations: 452.5 kB / 1.099 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004953/0.7824, allocations: 128.1 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001618/0.7826, allocations: 154.1 kB / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of Backend: time 7.51e-07/0.7826, allocations: 0 / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.7841, allocations: 0.5726 MB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of SimCode: time 0.000898/0.785, allocations: 0.7579 MB / 1.101 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of Templates: time 0.009451/0.7945, allocations: 4.262 MB / 1.105 GB, free: 13.46 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches