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.001431/0.001432, allocations: 105 kB / 16.41 MB, free: 6.457 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.001444/0.001444, allocations: 187 kB / 17.34 MB, free: 5.719 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.1 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.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 63.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003291/1.056, allocations: 1.996 MB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001121/1.057, allocations: 0.6546 MB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/1.057, allocations: 2.156 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.033e-05/1.057, allocations: 21.22 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/1.057, allocations: 47 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/1.058, allocations: 157 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003863/1.058, allocations: 290.5 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/1.058, allocations: 73.06 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/1.058, allocations: 112.8 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/1.059, allocations: 120.8 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.335e-05/1.059, allocations: 25.53 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-05/1.059, allocations: 25.66 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/1.059, allocations: 57.2 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/1.059, allocations: 103.8 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/1.059, allocations: 273.9 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.059, allocations: 0 / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.585e-06/1.059, allocations: 0 / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.824e-06/1.059, allocations: 0.625 kB / 1.092 GB, free: 2.988 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.001279/1.061, allocations: 0.6291 MB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/1.061, allocations: 9 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/1.061, allocations: 24.75 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/1.061, allocations: 266.2 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/1.061, allocations: 10.97 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/1.061, allocations: 14.94 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007135/1.062, allocations: 249.5 kB / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.062, allocations: 0 / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/1.062, allocations: 6.969 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/1.062, allocations: 3.219 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/1.063, allocations: 224.5 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/1.064, allocations: 0.511 MB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/1.065, allocations: 267.4 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/1.065, allocations: 123.8 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/1.065, allocations: 2.094 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006121/1.066, allocations: 190.4 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/1.066, allocations: 0 / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.001543/1.068, allocations: 388.4 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/1.068, allocations: 55.17 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/1.068, allocations: 211.4 kB / 1.096 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/1.068, allocations: 32.08 kB / 1.096 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/1.068, allocations: 128.1 kB / 1.096 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/1.068, allocations: 48.59 kB / 1.096 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/1.068, allocations: 43.3 kB / 1.096 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.535e-05/1.068, allocations: 329.9 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/1.069, allocations: 118.5 kB / 1.096 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/1.069, allocations: 116 kB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009008/1.07, allocations: 280.1 kB / 1.097 GB, free: 452 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.07, allocations: 0.7031 kB / 1.097 GB, free: 452 kB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001087/1.071, allocations: 368.7 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/1.071, allocations: 60.23 kB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.071, allocations: 3.984 kB / 1.097 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/1.071, allocations: 1.844 kB / 1.097 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/1.072, allocations: 47.83 kB / 1.097 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.072, allocations: 1.219 kB / 1.097 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/1.072, allocations: 40.33 kB / 1.097 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/1.072, allocations: 9.469 kB / 1.097 GB, free: 200 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004777/1.072, allocations: 200.2 kB / 1.097 GB, free: 84 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003996/1.073, allocations: 112.9 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008125/1.074, allocations: 257.5 kB / 1.098 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/1.074, allocations: 0 / 1.098 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0009631/1.075, allocations: 340.9 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/1.075, allocations: 67.59 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/1.075, allocations: 0 / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-06/1.075, allocations: 1.375 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/1.075, allocations: 48.73 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/1.075, allocations: 0.7031 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/1.075, allocations: 49.05 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/1.075, allocations: 4.469 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.0001458/1.075, allocations: 190.2 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/1.075, allocations: 21.88 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/1.076, allocations: 24.05 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.076, allocations: 2.188 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.076, allocations: 0 / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.076, allocations: 1.75 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/1.076, allocations: 272.9 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.076, allocations: 7.938 kB / 1.099 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/1.076, allocations: 51.95 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.076, allocations: 1.656 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/1.076, allocations: 6.328 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.076, allocations: 1.125 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.076, allocations: 0 / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/1.077, allocations: 300.6 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/1.077, allocations: 102.7 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/1.078, allocations: 10.55 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/1.078, allocations: 37.77 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.078, allocations: 27.97 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/1.078, allocations: 5.281 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001731/1.078, allocations: 157.2 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.078, allocations: 1.25 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000376/1.079, allocations: 70.22 kB / 1.099 GB, free: 14.87 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.0001443/1.079, allocations: 109.2 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001698/1.08, allocations: 0.5848 MB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.08, allocations: 0 / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005077/1.081, allocations: 127.5 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/1.081, allocations: 51.41 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/1.082, allocations: 367.1 kB / 1.101 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/1.083, allocations: 0.7286 MB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/1.083, allocations: 24.22 kB / 1.101 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of SimCode: time 3.156e-06/1.083, allocations: 0 / 1.101 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.01107/1.094, allocations: 2.78 MB / 1.104 GB, free: 13.19 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