Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001643/0.001644, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002296/0.002297, allocations: 192 kB / 16.13 MB, free: 6.664 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.527/1.527, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.05/3.05, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 60.25 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4184, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003895/0.4224, allocations: 2.054 MB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.4236, allocations: 0.6546 MB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.4237, allocations: 4 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.576e-05/0.4238, allocations: 11.86 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.424, allocations: 39.64 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.4245, allocations: 139.8 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.4248, allocations: 267.2 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.425, allocations: 63.66 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.4251, allocations: 103.6 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.4253, allocations: 111.5 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.4254, allocations: 12 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.896e-05/0.4254, allocations: 16 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.4255, allocations: 39.81 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.4256, allocations: 95.5 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.4259, allocations: 247.5 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4259, allocations: 0 / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4259, allocations: 0 / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4259, allocations: 4 kB / 1.071 GB, free: 7.062 MB / 0.8262 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.001393/0.4273, allocations: 0.6228 MB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4274, allocations: 8.031 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.761e-05/0.4275, allocations: 24.66 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.4279, allocations: 273.7 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.4279, allocations: 12.38 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.428, allocations: 12.38 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.4287, allocations: 240.9 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4287, allocations: 3.984 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.4287, allocations: 4 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.4287, allocations: 4 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008547/0.4296, allocations: 224.5 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008264/0.4304, allocations: 0.5234 MB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/0.4315, allocations: 258.5 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.4319, allocations: 116.7 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.4319, allocations: 4 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006759/0.4326, allocations: 201.5 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.4326, allocations: 0 / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.001438/0.4341, allocations: 385 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.4341, allocations: 67.33 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.4344, allocations: 214.7 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.4344, allocations: 33.7 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4345, allocations: 128.3 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.4346, allocations: 43.36 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.4347, allocations: 41.64 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4349, allocations: 330.8 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.4353, allocations: 120.7 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.4358, allocations: 117.6 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000848/0.4366, allocations: 269.8 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4366, allocations: 0 / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001017/0.4377, allocations: 372.5 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.4377, allocations: 55.41 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.4377, allocations: 3.984 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4378, allocations: 4 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.438, allocations: 43.89 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4381, allocations: 3.984 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.4384, allocations: 47.8 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.4384, allocations: 8 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004579/0.4389, allocations: 196 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003638/0.4392, allocations: 109.5 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006987/0.44, allocations: 249.8 kB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.44, allocations: 4 kB / 1.076 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008699/0.4408, allocations: 342.3 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.4409, allocations: 67.33 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.4409, allocations: 4 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-06/0.4409, allocations: 0 / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.4412, allocations: 43.95 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.4412, allocations: 0 / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.4414, allocations: 43.78 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.4415, allocations: 12 kB / 1.077 GB, free: 0.9336 MB / 0.8262 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.000175/0.4416, allocations: 192.2 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.4417, allocations: 19.75 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.834e-05/0.4418, allocations: 25.52 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.4418, allocations: 7.938 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4418, allocations: 0 / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4418, allocations: 0 / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.4421, allocations: 269.4 kB / 1.077 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4421, allocations: 3.938 kB / 1.077 GB, free: 384 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.4424, allocations: 47.94 kB / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4424, allocations: 0 / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.4424, allocations: 4 kB / 1.077 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4424, allocations: 4 kB / 1.077 GB, free: 328 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4424, allocations: 3.938 kB / 1.077 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009984/0.4434, allocations: 310.9 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.4435, allocations: 108.8 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.4436, allocations: 0 / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.4439, allocations: 39.95 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.444, allocations: 23.95 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.444, allocations: 4 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001664/0.4442, allocations: 151.2 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4442, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003578/0.4445, allocations: 83.73 kB / 1.078 GB, free: 15.57 MB / 0.8419 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.0001616/0.4447, allocations: 103.2 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.4462, allocations: 0.5959 MB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4463, allocations: 0 / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.4467, allocations: 123.9 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.4471, allocations: 47.31 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.4481, allocations: 402.6 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.4485, allocations: 0.7287 MB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.4486, allocations: 25.53 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.4487, allocations: 15.44 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.4487, allocations: 0 / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.006534/0.4552, allocations: 2.887 MB / 1.083 GB, free: 10.61 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)