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/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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006727/0.006727, allocations: 99.5 kB / 15.73 MB, free: 6.055 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.001611/0.001611, allocations: 193.8 kB / 16.68 MB, free: 5.973 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.683/2.683, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 68.11 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.333, allocations: 162.3 MB / 1.242 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003274/0.3363, allocations: 2.006 MB / 1.244 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3374, allocations: 0.6546 MB / 1.244 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.837e-05/0.3375, allocations: 4 kB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.908e-05/0.3375, allocations: 19.73 kB / 1.244 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.3377, allocations: 43.58 kB / 1.244 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.3381, allocations: 159.7 kB / 1.245 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.3385, allocations: 299.2 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3386, allocations: 56.3 kB / 1.245 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.3388, allocations: 115.6 kB / 1.245 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.339, allocations: 123.5 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.339, allocations: 24 kB / 1.245 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.342e-05/0.3391, allocations: 24 kB / 1.245 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.12e-05/0.3391, allocations: 55.77 kB / 1.245 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.3393, allocations: 111.4 kB / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.3396, allocations: 267.1 kB / 1.246 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3396, allocations: 0 / 1.246 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3396, allocations: 4 kB / 1.246 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3396, allocations: 0 / 1.246 GB, free: 4.984 MB / 0.9669 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.001297/0.3409, allocations: 0.632 MB / 1.246 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.341, allocations: 12.03 kB / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.341, allocations: 46.73 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.3411, allocations: 24.8 kB / 1.246 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.3416, allocations: 273.2 kB / 1.247 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3416, allocations: 12.38 kB / 1.247 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.3417, allocations: 16.36 kB / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.3423, allocations: 248.1 kB / 1.247 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3424, allocations: 0 / 1.247 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.3424, allocations: 4 kB / 1.247 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3424, allocations: 4 kB / 1.247 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008881/0.3433, allocations: 219.8 kB / 1.247 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.3441, allocations: 0.5159 MB / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.3451, allocations: 274.4 kB / 1.248 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000458/0.3456, allocations: 116.8 kB / 1.248 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.3457, allocations: 7.938 kB / 1.248 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005926/0.3463, allocations: 195.1 kB / 1.248 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.3463, allocations: 0 / 1.248 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.001483/0.3478, allocations: 381.2 kB / 1.249 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.3478, allocations: 63.34 kB / 1.249 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.348, allocations: 207 kB / 1.249 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.3481, allocations: 37.64 kB / 1.249 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.3482, allocations: 124.4 kB / 1.249 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.3482, allocations: 51.58 kB / 1.249 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.3483, allocations: 33.7 kB / 1.249 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3485, allocations: 334.8 kB / 1.249 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.3489, allocations: 116.8 kB / 1.249 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/0.3494, allocations: 115.9 kB / 1.25 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008822/0.3503, allocations: 273.9 kB / 1.25 GB, free: 456 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3503, allocations: 0 / 1.25 GB, free: 456 kB / 0.9669 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001058/0.3514, allocations: 368.6 kB / 1.25 GB, free: 68 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-05/0.3515, allocations: 63.45 kB / 1.25 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.3515, allocations: 0 / 1.25 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3515, allocations: 0 / 1.25 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.3518, allocations: 47.94 kB / 1.25 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3518, allocations: 0 / 1.25 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.3521, allocations: 47.78 kB / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.3521, allocations: 11.98 kB / 1.25 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004622/0.3526, allocations: 200 kB / 1.251 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003853/0.353, allocations: 102 kB / 1.251 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007491/0.3538, allocations: 259.9 kB / 1.251 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.3538, allocations: 4 kB / 1.251 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0009011/0.3547, allocations: 342.6 kB / 1.251 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.3547, allocations: 59.41 kB / 1.251 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.3547, allocations: 4 kB / 1.251 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.3547, allocations: 4 kB / 1.251 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.355, allocations: 51.88 kB / 1.251 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.355, allocations: 3.938 kB / 1.251 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.3553, allocations: 39.91 kB / 1.251 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3553, allocations: 4 kB / 1.251 GB, free: 14.79 MB / 0.9825 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.0001558/0.3554, allocations: 192.8 kB / 1.252 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.3555, allocations: 19.84 kB / 1.252 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.3556, allocations: 25.52 kB / 1.252 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3556, allocations: 4 kB / 1.252 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3556, allocations: 0 / 1.252 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3556, allocations: 0 / 1.252 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3559, allocations: 277.3 kB / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3559, allocations: 0 / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.3561, allocations: 51.88 kB / 1.252 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3561, allocations: 0 / 1.252 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.3562, allocations: 7.984 kB / 1.252 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3562, allocations: 4 kB / 1.252 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3562, allocations: 0 / 1.252 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/0.3571, allocations: 311.1 kB / 1.252 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.3572, allocations: 101 kB / 1.252 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.3573, allocations: 4 kB / 1.252 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.3575, allocations: 43.94 kB / 1.252 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3577, allocations: 23.97 kB / 1.252 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3577, allocations: 4 kB / 1.252 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001431/0.3578, allocations: 152.6 kB / 1.253 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 0 / 1.253 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003234/0.3582, allocations: 71.89 kB / 1.253 GB, free: 13.43 MB / 0.9825 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.001337/0.3595, allocations: 0.8597 MB / 1.253 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.3611, allocations: 0.5871 MB / 1.254 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3611, allocations: 0 / 1.254 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.3616, allocations: 130 kB / 1.254 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3619, allocations: 39.97 kB / 1.254 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.3665, allocations: 2.423 MB / 1.257 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3668, allocations: 0.7323 MB / 1.257 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.367, allocations: 21.55 kB / 1.257 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.3671, allocations: 59.41 kB / 1.257 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of SimCode: time 9.72e-07/0.3671, allocations: 0 / 1.257 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2655/0.6327, allocations: 5.046 MB / 1.262 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.065/9.698, allocations: 9.656 kB / 1.262 GB, free: 3.535 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)