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.001081/0.001081, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.455/1.455, allocations: 223.3 MB / 241 MB, free: 5.254 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.464/2.464, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004849, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8228, allocations: 142.4 MB / 0.9557 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002242/0.8251, allocations: 1.702 MB / 0.9574 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.8262, allocations: 0.6332 MB / 0.958 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.8263, allocations: 2.344 kB / 0.958 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.8264, allocations: 11.86 kB / 0.958 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.8265, allocations: 40.5 kB / 0.958 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.8269, allocations: 144.4 kB / 0.9582 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.8272, allocations: 261.1 kB / 0.9584 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.8274, allocations: 69 kB / 0.9585 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.8275, allocations: 91.91 kB / 0.9586 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.8277, allocations: 106.5 kB / 0.9587 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.8277, allocations: 8.938 kB / 0.9587 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.315e-05/0.8278, allocations: 10.16 kB / 0.9587 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.8278, allocations: 38.11 kB / 0.9587 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.8279, allocations: 118.7 kB / 0.9589 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.8281, allocations: 180.2 kB / 0.959 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8282, allocations: 0 / 0.959 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8282, allocations: 5.531 kB / 0.959 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8282, allocations: 0 / 0.959 GB, free: 5.18 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.001231/0.8294, allocations: 0.6208 MB / 0.9596 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.8295, allocations: 9.625 kB / 0.9596 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.8295, allocations: 25.03 kB / 0.9597 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.8299, allocations: 266 kB / 0.9599 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.8299, allocations: 11.25 kB / 0.9599 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.83, allocations: 14 kB / 0.96 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.8307, allocations: 267.7 kB / 0.9602 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.8307, allocations: 5.359 kB / 0.9602 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.8307, allocations: 9.375 kB / 0.9602 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.8308, allocations: 2.75 kB / 0.9602 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000926/0.8317, allocations: 272.8 kB / 0.9605 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.8324, allocations: 0.5166 MB / 0.961 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.8336, allocations: 313.4 kB / 0.9613 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004838/0.8341, allocations: 144 kB / 0.9614 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.8341, allocations: 5.844 kB / 0.9614 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006712/0.8348, allocations: 225.8 kB / 0.9616 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.8348, allocations: 5 kB / 0.9616 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001612/0.8364, allocations: 455.8 kB / 0.9621 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.8365, allocations: 58.19 kB / 0.9621 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.8367, allocations: 211.4 kB / 0.9623 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.8367, allocations: 31.95 kB / 0.9624 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.8368, allocations: 130.5 kB / 0.9625 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.8368, allocations: 48.28 kB / 0.9625 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.8369, allocations: 23.78 kB / 0.9626 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.837, allocations: 331.4 kB / 0.9629 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/0.8375, allocations: 133.1 kB / 0.963 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.8379, allocations: 142.9 kB / 0.9631 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000946/0.8389, allocations: 337.3 kB / 0.9635 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.8389, allocations: 0.9688 kB / 0.9635 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001098/0.84, allocations: 415.9 kB / 0.9639 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-05/0.8401, allocations: 153.5 kB / 0.964 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8401, allocations: 1.438 kB / 0.964 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.8401, allocations: 0 / 0.964 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.8404, allocations: 64.16 kB / 0.9641 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.8405, allocations: 1.125 kB / 0.9641 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.8408, allocations: 56.53 kB / 0.9641 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.8408, allocations: 4.344 kB / 0.9641 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.8409, allocations: 4.469 kB / 0.9641 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009784/0.8418, allocations: 368.6 kB / 0.9645 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.8419, allocations: 0 / 0.9645 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.8419, allocations: 4.719 kB / 0.9645 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.8421, allocations: 59.77 kB / 0.9645 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.8421, allocations: 7.922 kB / 0.9646 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.8424, allocations: 51.77 kB / 0.9646 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.8424, allocations: 7.906 kB / 0.9646 GB, free: 1.262 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 (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.0001424/0.8426, allocations: 205 kB / 0.9648 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.8426, allocations: 24.47 kB / 0.9648 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.8427, allocations: 21.67 kB / 0.9649 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.8427, allocations: 2.125 kB / 0.9649 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.8427, allocations: 5.25 kB / 0.9649 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.8427, allocations: 0 / 0.9649 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.843, allocations: 268.5 kB / 0.9651 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.843, allocations: 0.875 kB / 0.9651 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.8433, allocations: 62.62 kB / 0.9652 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.8433, allocations: 8.906 kB / 0.9652 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.8433, allocations: 2 kB / 0.9652 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.8433, allocations: 5.203 kB / 0.9652 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8434, allocations: 7.984 kB / 0.9652 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.8444, allocations: 349 kB / 0.9655 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.8445, allocations: 102 kB / 0.9656 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.8445, allocations: 17.08 kB / 0.9656 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.8448, allocations: 46.5 kB / 0.9657 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.8449, allocations: 30.53 kB / 0.9657 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.845, allocations: 4.094 kB / 0.9657 GB, free: 372 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001431/0.8451, allocations: 164.5 kB / 0.9659 GB, free: 248 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8451, allocations: 0 / 0.9659 GB, free: 248 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000357/0.8455, allocations: 71.06 kB / 0.9659 GB, free: 236 kB / 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 (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.0001385/0.8456, allocations: 107.3 kB / 0.9661 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.8474, allocations: 0.6597 MB / 0.9667 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8474, allocations: 4 kB / 0.9667 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.848, allocations: 151.6 kB / 0.9668 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.8484, allocations: 37.25 kB / 0.9669 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.8493, allocations: 438 kB / 0.9673 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.8497, allocations: 0.7331 MB / 0.968 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.8498, allocations: 21.27 kB / 0.968 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.8498, allocations: 4 kB / 0.968 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.005527/0.8553, allocations: 2.737 MB / 0.9707 GB, free: 13.14 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","/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