Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001134/0.001138, allocations: 110.6 kB / 16.42 MB, free: 6.492 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.00103/0.00103, allocations: 185.7 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.254/3.254, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.699, allocations: 151.6 MB / 1.167 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003036/0.7021, allocations: 2 MB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.7032, allocations: 0.6546 MB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.7033, allocations: 0 / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.167e-05/0.7034, allocations: 23.73 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.7036, allocations: 51.56 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.704, allocations: 161.2 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.7043, allocations: 283.2 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.7045, allocations: 68.28 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.7046, allocations: 115.6 kB / 1.171 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.7048, allocations: 115.5 kB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.7048, allocations: 28 kB / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.102e-05/0.7049, allocations: 28 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.7049, allocations: 59.75 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.7051, allocations: 107.5 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.7053, allocations: 268.9 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7053, allocations: 0 / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7053, allocations: 0 / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.7053, allocations: 0 / 1.171 GB, free: 32 kB / 0.8887 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.001195/0.7065, allocations: 0.6228 MB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7066, allocations: 8.922 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.7067, allocations: 24.66 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.707, allocations: 273.4 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.7071, allocations: 12.38 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.7071, allocations: 16.38 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.7078, allocations: 236.4 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7078, allocations: 8 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.7078, allocations: 3.938 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.7078, allocations: 7.984 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008943/0.7087, allocations: 223.8 kB / 1.173 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.7094, allocations: 0.5079 MB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.7104, allocations: 258.5 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004575/0.7109, allocations: 124.7 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.7109, allocations: 7.984 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005525/0.7115, allocations: 191.2 kB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.7115, allocations: 0 / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.001434/0.7129, allocations: 390.5 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.713, allocations: 51.41 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.7132, allocations: 214.9 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.7132, allocations: 29.7 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.7133, allocations: 136.3 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.7133, allocations: 43.36 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.7134, allocations: 33.7 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.7135, allocations: 326.8 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.714, allocations: 124.7 kB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.7144, allocations: 121.6 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/0.7153, allocations: 278.4 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7153, allocations: 0 / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001019/0.7164, allocations: 368.5 kB / 1.176 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.7164, allocations: 63.39 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7164, allocations: 0 / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.7164, allocations: 0 / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.7167, allocations: 51.94 kB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7167, allocations: 0 / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.7171, allocations: 39.86 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.7171, allocations: 11.98 kB / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004547/0.7175, allocations: 200 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003794/0.7179, allocations: 103.9 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007477/0.7187, allocations: 266.4 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-06/0.7187, allocations: 0 / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008893/0.7196, allocations: 336.6 kB / 1.177 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.7196, allocations: 71.33 kB / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.7196, allocations: 0 / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-06/0.7197, allocations: 0 / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.7199, allocations: 39.95 kB / 1.177 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.7199, allocations: 0 / 1.177 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.7202, allocations: 55.72 kB / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.7202, allocations: 4 kB / 1.177 GB, free: 9.91 MB / 0.9044 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 9.843e-05/0.7203, allocations: 186.2 kB / 1.177 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.7203, allocations: 19.75 kB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.937e-05/0.7204, allocations: 29.52 kB / 1.177 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7204, allocations: 0 / 1.177 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7204, allocations: 4 kB / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.7205, allocations: 96.77 kB / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.7205, allocations: 7.984 kB / 1.177 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.7208, allocations: 31.95 kB / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.243e-05/0.7209, allocations: 31.95 kB / 1.177 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001225/0.7222, allocations: 384.5 kB / 1.178 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00101/0.7232, allocations: 449.6 kB / 1.178 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004628/0.7237, allocations: 131.9 kB / 1.178 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001316/0.7238, allocations: 160.3 kB / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of Backend: time 6.71e-07/0.7238, allocations: 0 / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.7252, allocations: 0.5655 MB / 1.179 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007816/0.726, allocations: 0.7728 MB / 1.18 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of Templates: time 0.008436/0.7345, allocations: 4.255 MB / 1.184 GB, free: 2.695 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches