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.001174/0.001174, allocations: 112 kB / 16.41 MB, free: 6.484 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.001262/0.001262, allocations: 183 kB / 17.34 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.17 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.214/2.214, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 63.91 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003001/1.056, allocations: 1.989 MB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001008/1.057, allocations: 0.6525 MB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/1.057, allocations: 6.125 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.656e-05/1.057, allocations: 20.67 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/1.057, allocations: 48 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/1.057, allocations: 163.1 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003335/1.058, allocations: 286 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/1.058, allocations: 76.81 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/1.058, allocations: 109.5 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/1.058, allocations: 120.3 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/1.058, allocations: 26.28 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.242e-05/1.058, allocations: 25.31 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/1.058, allocations: 62.17 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/1.058, allocations: 103.7 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/1.059, allocations: 269 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.059, allocations: 0.7188 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/1.059, allocations: 0 / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.059, allocations: 0 / 1.092 GB, free: 3.02 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.001314/1.06, allocations: 0.6289 MB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.06, allocations: 9.438 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/1.06, allocations: 25.45 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/1.061, allocations: 266.8 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/1.061, allocations: 10.83 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/1.061, allocations: 17.91 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006776/1.061, allocations: 245.9 kB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.061, allocations: 0 / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/1.061, allocations: 6.188 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/1.061, allocations: 7.781 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009358/1.062, allocations: 220.7 kB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008393/1.063, allocations: 0.5143 MB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/1.064, allocations: 263.8 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/1.065, allocations: 120.4 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/1.065, allocations: 1.469 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005938/1.065, allocations: 195.8 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/1.066, allocations: 0 / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.001502/1.067, allocations: 382.6 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/1.067, allocations: 59.22 kB / 1.095 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/1.067, allocations: 211.5 kB / 1.096 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/1.067, allocations: 32.28 kB / 1.096 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/1.067, allocations: 128.4 kB / 1.096 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/1.067, allocations: 45.16 kB / 1.096 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/1.068, allocations: 46.52 kB / 1.096 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.237e-05/1.068, allocations: 329.6 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/1.068, allocations: 118.8 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/1.069, allocations: 122.2 kB / 1.096 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/1.069, allocations: 275.7 kB / 1.097 GB, free: 484 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.069, allocations: 0.5625 kB / 1.097 GB, free: 484 kB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001056/1.07, allocations: 368.4 kB / 1.097 GB, free: 312 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/1.071, allocations: 64.28 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.071, allocations: 0.6562 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.071, allocations: 1.156 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/1.071, allocations: 48.3 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/1.071, allocations: 1.281 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/1.071, allocations: 39.47 kB / 1.097 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/1.071, allocations: 5.734 kB / 1.097 GB, free: 236 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004507/1.072, allocations: 197 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00037/1.072, allocations: 112.1 kB / 1.097 GB, free: 96 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007353/1.073, allocations: 260 kB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/1.073, allocations: 0 / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0009372/1.074, allocations: 344.6 kB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/1.074, allocations: 63.73 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/1.074, allocations: 1.094 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/1.074, allocations: 5.047 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/1.074, allocations: 47.64 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/1.074, allocations: 1.656 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/1.074, allocations: 44.95 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/1.074, allocations: 8.656 kB / 1.098 GB, free: 15.73 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.0001406/1.075, allocations: 185.5 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/1.075, allocations: 22 kB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/1.075, allocations: 19.75 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.075, allocations: 3.078 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.075, allocations: 0 / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.075, allocations: 4.656 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/1.075, allocations: 277.5 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.075, allocations: 5.062 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/1.075, allocations: 51.06 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.075, allocations: 1.094 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/1.075, allocations: 6.328 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/1.075, allocations: 1.891 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/1.075, allocations: 0 / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009505/1.076, allocations: 301.5 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/1.076, allocations: 100.1 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/1.076, allocations: 9.766 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/1.077, allocations: 42.55 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.077, allocations: 22.22 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/1.077, allocations: 10.05 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001515/1.077, allocations: 153.1 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.077, allocations: 0 / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003679/1.077, allocations: 76.2 kB / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001354/1.078, allocations: 107.9 kB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001559/1.079, allocations: 0.5874 MB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.079, allocations: 0 / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004841/1.08, allocations: 130.6 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/1.08, allocations: 45.42 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009399/1.081, allocations: 366.1 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/1.081, allocations: 0.7251 MB / 1.101 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/1.081, allocations: 24.95 kB / 1.101 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/1.081, allocations: 4 kB / 1.101 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of Templates: time 0.006012/1.087, allocations: 2.768 MB / 1.104 GB, free: 13.23 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