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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001298/0.001298, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001431/0.001431, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.594/2.594, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003969, allocations: 8 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8235/0.8239, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.001644/0.8256, allocations: 1.625 MB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00072/0.8264, allocations: 0.6088 MB / 0.9557 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.8265, allocations: 6.375 kB / 0.9557 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.8265, allocations: 7.922 kB / 0.9557 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.8266, allocations: 53.72 kB / 0.9558 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.8269, allocations: 115.1 kB / 0.9559 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.8271, allocations: 161.4 kB / 0.956 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.8272, allocations: 56.25 kB / 0.9561 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.8274, allocations: 79.53 kB / 0.9562 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.8275, allocations: 101.1 kB / 0.9563 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.8275, allocations: 9.812 kB / 0.9563 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.294e-05/0.8276, allocations: 9.125 kB / 0.9563 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.8276, allocations: 43.02 kB / 0.9563 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.8277, allocations: 58.06 kB / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.8278, allocations: 187.7 kB / 0.9566 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.8278, allocations: 0 / 0.9566 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8278, allocations: 0 / 0.9566 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.8278, allocations: 0 / 0.9566 GB, free: 5.75 MB / 0.7169 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.001086/0.8289, allocations: 0.6241 MB / 0.9572 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.829, allocations: 9.375 kB / 0.9572 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.829, allocations: 31.19 kB / 0.9572 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.8293, allocations: 262.7 kB / 0.9575 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.8294, allocations: 4.375 kB / 0.9575 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.8294, allocations: 13.72 kB / 0.9575 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.83, allocations: 259.9 kB / 0.9577 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.8301, allocations: 4 kB / 0.9577 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.8301, allocations: 13.64 kB / 0.9577 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8301, allocations: 1.656 kB / 0.9577 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008496/0.831, allocations: 276.7 kB / 0.958 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005996/0.8316, allocations: 0.5134 MB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009827/0.8326, allocations: 319.8 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.8326, allocations: 1.375 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005487/0.8331, allocations: 207.3 kB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.8332, allocations: 11.92 kB / 0.959 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001388/0.8346, allocations: 460.6 kB / 0.9595 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.8346, allocations: 54.75 kB / 0.9595 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.8348, allocations: 214.5 kB / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.8348, allocations: 27.36 kB / 0.9597 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.8348, allocations: 130 kB / 0.9599 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.8349, allocations: 45.45 kB / 0.9599 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.8349, allocations: 4.969 kB / 0.9599 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.8349, allocations: 334.8 kB / 0.9602 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.8354, allocations: 136.8 kB / 0.9604 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.8359, allocations: 132.8 kB / 0.9605 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.8363, allocations: 191.3 kB / 0.9607 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8363, allocations: 4 kB / 0.9607 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009894/0.8373, allocations: 411.1 kB / 0.9611 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.8374, allocations: 147.7 kB / 0.9612 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.8374, allocations: 5.25 kB / 0.9612 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8374, allocations: 0 / 0.9612 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.8377, allocations: 60.44 kB / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.8377, allocations: 1.062 kB / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.838, allocations: 65.25 kB / 0.9613 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.838, allocations: 7.922 kB / 0.9613 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.838, allocations: 3.688 kB / 0.9613 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008493/0.8389, allocations: 360 kB / 0.9617 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-06/0.8389, allocations: 0 / 0.9617 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.8389, allocations: 1.125 kB / 0.9617 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.8391, allocations: 65.75 kB / 0.9617 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-06/0.8391, allocations: 1.094 kB / 0.9617 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.8394, allocations: 59.47 kB / 0.9618 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.8394, allocations: 8.656 kB / 0.9618 GB, free: 1.992 MB / 0.7169 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 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.398e-05/0.8395, allocations: 206.1 kB / 0.962 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.8395, allocations: 15.75 kB / 0.962 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.8396, allocations: 22.2 kB / 0.962 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8396, allocations: 5.938 kB / 0.9621 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8396, allocations: 0 / 0.9621 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.8396, allocations: 5.109 kB / 0.9621 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.8398, allocations: 274.3 kB / 0.9623 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8398, allocations: 0 / 0.9623 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.8401, allocations: 57.94 kB / 0.9624 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8401, allocations: 1.062 kB / 0.9624 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.8401, allocations: 4.953 kB / 0.9624 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8401, allocations: 5.094 kB / 0.9624 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8401, allocations: 5.375 kB / 0.9624 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.841, allocations: 361.5 kB / 0.9627 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.8411, allocations: 101.2 kB / 0.9628 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.8411, allocations: 6.125 kB / 0.9628 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.8414, allocations: 51.16 kB / 0.9629 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.8415, allocations: 30.95 kB / 0.9629 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.8415, allocations: 7.438 kB / 0.9629 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.547e-05/0.8416, allocations: 155.1 kB / 0.9631 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8416, allocations: 0 / 0.9631 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003055/0.8419, allocations: 75.03 kB / 0.9631 GB, free: 0.9648 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.119e-05/0.842, allocations: 106.7 kB / 0.9632 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.8434, allocations: 0.6579 MB / 0.9639 GB, free: 452 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8434, allocations: 0 / 0.9639 GB, free: 452 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004619/0.8439, allocations: 161.7 kB / 0.964 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.8441, allocations: 31.84 kB / 0.9641 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.8448, allocations: 409.2 kB / 0.9645 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.8451, allocations: 0.7296 MB / 0.9652 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.8452, allocations: 21.55 kB / 0.9652 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.943e-05/0.8453, allocations: 22.3 kB / 0.9652 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8453, allocations: 0 / 0.9652 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of Templates: time 0.005557/0.8508, allocations: 2.761 MB / 0.9679 GB, free: 13.94 MB / 0.7325 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","../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches