Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.487/2.487, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001376, allocations: 175.9 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.898/1.898, allocations: 223.2 MB / 0.7992 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 92.31 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004381, allocations: 7.219 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3916, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.6207, allocations: 152.7 MB / 1.378 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/0.6211, allocations: 87.88 kB / 1.378 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.6324, allocations: 3.743 MB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.567e-06/0.6325, allocations: 7.875 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.6325, allocations: 4 kB / 1.382 GB, free: 12.96 MB / 0.8855 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.001261/0.6338, allocations: 0.6127 MB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.6338, allocations: 12.56 kB / 1.383 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.6339, allocations: 19.77 kB / 1.383 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.6343, allocations: 266.6 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.6343, allocations: 12 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.6344, allocations: 12 kB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.6351, allocations: 284.5 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6351, allocations: 4 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.6352, allocations: 4 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.6352, allocations: 4 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009944/0.6362, allocations: 320.7 kB / 1.384 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.6371, allocations: 0.5741 MB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.6383, allocations: 382.4 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.6384, allocations: 3.984 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006914/0.6391, allocations: 239.2 kB / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.294e-06/0.6391, allocations: 0 / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.001558/0.6407, allocations: 0.5155 MB / 1.385 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.6408, allocations: 110.8 kB / 1.385 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.641, allocations: 190.8 kB / 1.386 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.641, allocations: 33.7 kB / 1.386 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.126e-05/0.6411, allocations: 128.3 kB / 1.386 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.6412, allocations: 39.36 kB / 1.386 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.6412, allocations: 8 kB / 1.386 GB, free: 9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6413, allocations: 330.8 kB / 1.386 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.6419, allocations: 163.9 kB / 1.386 GB, free: 8.508 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.6424, allocations: 191.5 kB / 1.386 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.6429, allocations: 204 kB / 1.387 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.6429, allocations: 0 / 1.387 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001142/0.6441, allocations: 457.4 kB / 1.387 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.6442, allocations: 152.3 kB / 1.387 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6442, allocations: 0 / 1.387 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.6442, allocations: 8 kB / 1.387 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.6446, allocations: 67.94 kB / 1.387 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.6446, allocations: 0 / 1.387 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.6449, allocations: 67.84 kB / 1.387 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.645, allocations: 11.98 kB / 1.387 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.645, allocations: 11.94 kB / 1.387 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000913/0.6459, allocations: 372 kB / 1.388 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/0.6459, allocations: 0 / 1.388 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-06/0.6459, allocations: 0 / 1.388 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.6462, allocations: 51.95 kB / 1.388 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-06/0.6462, allocations: 4 kB / 1.388 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.6465, allocations: 59.88 kB / 1.388 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.6465, allocations: 7.984 kB / 1.388 GB, free: 6.809 MB / 0.8855 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 0.0001888/0.6467, allocations: 218.6 kB / 1.388 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.6468, allocations: 19.72 kB / 1.388 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.6468, allocations: 25.52 kB / 1.388 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.85e-06/0.6468, allocations: 4 kB / 1.388 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6469, allocations: 0 / 1.388 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6469, allocations: 0 / 1.388 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.6472, allocations: 277.4 kB / 1.388 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6472, allocations: 0 / 1.388 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.6475, allocations: 71.92 kB / 1.388 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6475, allocations: 0 / 1.388 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.6475, allocations: 12 kB / 1.388 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6475, allocations: 3.984 kB / 1.388 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6475, allocations: 0 / 1.388 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.6486, allocations: 412.5 kB / 1.389 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.6487, allocations: 96.77 kB / 1.389 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.6487, allocations: 8 kB / 1.389 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.6491, allocations: 67.92 kB / 1.389 GB, free: 5.523 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.6492, allocations: 27.95 kB / 1.389 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.6492, allocations: 4 kB / 1.389 GB, free: 5.492 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001459/0.6494, allocations: 148.6 kB / 1.389 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6494, allocations: 3.938 kB / 1.389 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003478/0.6497, allocations: 88.08 kB / 1.389 GB, free: 5.258 MB / 0.8855 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 0.0001816/0.6499, allocations: 109.1 kB / 1.389 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.6516, allocations: 0.7019 MB / 1.39 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6516, allocations: 8 kB / 1.39 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.6521, allocations: 178.2 kB / 1.39 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.6524, allocations: 37.5 kB / 1.39 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.6534, allocations: 448.5 kB / 1.391 GB, free: 3.711 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.6538, allocations: 0.7289 MB / 1.391 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000135/0.6539, allocations: 25.53 kB / 1.391 GB, free: 2.922 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.654, allocations: 19.44 kB / 1.391 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of SimCode: time 2.51e-07/0.654, allocations: 0 / 1.391 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of Templates: time 0.006581/0.6606, allocations: 3.134 MB / 1.394 GB, free: 15.82 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches