Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",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.007161/0.007161, allocations: 100.9 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.002037/0.002037, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 68.06 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2757, allocations: 162.2 MB / 1.241 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002381/0.2781, allocations: 1.158 MB / 1.243 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.2799, allocations: 1.369 MB / 1.244 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.454e-05/0.28, allocations: 0 / 1.244 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.432e-05/0.2801, allocations: 23.67 kB / 1.244 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.2803, allocations: 47.59 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007065/0.281, allocations: 287.8 kB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.2815, allocations: 431.8 kB / 1.245 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.2817, allocations: 128.2 kB / 1.245 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.2819, allocations: 155.5 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.2821, allocations: 155.4 kB / 1.245 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.062e-05/0.2822, allocations: 44 kB / 1.245 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.2823, allocations: 59.92 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.2824, allocations: 59.83 kB / 1.245 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.2825, allocations: 159.3 kB / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.2831, allocations: 490.5 kB / 1.246 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2831, allocations: 0 / 1.246 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2831, allocations: 4 kB / 1.246 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2831, allocations: 0 / 1.246 GB, free: 4.777 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009112/0.284, allocations: 0.6225 MB / 1.246 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2841, allocations: 8.031 kB / 1.246 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.914e-05/0.2841, allocations: 58.73 kB / 1.247 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.2842, allocations: 36.69 kB / 1.247 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.2849, allocations: 328 kB / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.2849, allocations: 20.38 kB / 1.247 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.285, allocations: 24.38 kB / 1.247 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.2853, allocations: 181.6 kB / 1.247 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2853, allocations: 0 / 1.247 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2853, allocations: 8 kB / 1.247 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.2854, allocations: 4 kB / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.2856, allocations: 119.9 kB / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2866, allocations: 0.6837 MB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.2871, allocations: 162.9 kB / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.2872, allocations: 76.77 kB / 1.248 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.2872, allocations: 0 / 1.248 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.2875, allocations: 131.3 kB / 1.248 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.2875, allocations: 0 / 1.248 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0004505/0.288, allocations: 219.2 kB / 1.248 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.288, allocations: 59.34 kB / 1.249 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.2882, allocations: 218.8 kB / 1.249 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/0.2883, allocations: 41.7 kB / 1.249 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.2884, allocations: 152.7 kB / 1.249 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.2885, allocations: 39.67 kB / 1.249 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2886, allocations: 77.67 kB / 1.249 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2888, allocations: 338.8 kB / 1.249 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.289, allocations: 95.95 kB / 1.249 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.2893, allocations: 162.8 kB / 1.25 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.2896, allocations: 222.8 kB / 1.25 GB, free: 464 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2896, allocations: 0 / 1.25 GB, free: 464 kB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006072/0.2902, allocations: 356.7 kB / 1.25 GB, free: 88 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.2903, allocations: 67.33 kB / 1.25 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2903, allocations: 0 / 1.25 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2903, allocations: 4 kB / 1.25 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.2904, allocations: 19.98 kB / 1.25 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2904, allocations: 4 kB / 1.25 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.2909, allocations: 83.83 kB / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.2909, allocations: 12 kB / 1.25 GB, free: 15.89 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0001699/0.2911, allocations: 163.5 kB / 1.25 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.2911, allocations: 19.84 kB / 1.25 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.594e-05/0.2912, allocations: 21.88 kB / 1.251 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2912, allocations: 4 kB / 1.251 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2912, allocations: 3.984 kB / 1.251 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2912, allocations: 0 / 1.251 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.2915, allocations: 293.4 kB / 1.251 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2915, allocations: 3.938 kB / 1.251 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.2916, allocations: 15.98 kB / 1.251 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.2916, allocations: 7.938 kB / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2916, allocations: 15.94 kB / 1.251 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2916, allocations: 0 / 1.251 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2916, allocations: 0 / 1.251 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.292, allocations: 202.9 kB / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.292, allocations: 100.9 kB / 1.251 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.2921, allocations: 4 kB / 1.251 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.2922, allocations: 15.98 kB / 1.251 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.2923, allocations: 31.95 kB / 1.251 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.2923, allocations: 15.98 kB / 1.251 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000127/0.2924, allocations: 144.4 kB / 1.251 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2924, allocations: 0 / 1.251 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000289/0.2927, allocations: 59.89 kB / 1.251 GB, free: 14.69 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: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000672/0.2934, allocations: 0.7591 MB / 1.252 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005317/0.294, allocations: 342.5 kB / 1.252 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.294, allocations: 0 / 1.252 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.2941, allocations: 75.92 kB / 1.253 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.2944, allocations: 48.14 kB / 1.253 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.2976, allocations: 2.432 MB / 1.255 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.298, allocations: 0.7365 MB / 1.256 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.757e-05/0.2981, allocations: 29.94 kB / 1.256 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.2982, allocations: 79.34 kB / 1.256 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.2982, allocations: 0 / 1.256 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.3251, allocations: 5.431 MB / 1.261 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.151, allocations: 8.812 kB / 1.261 GB, free: 4.746 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.csv --start-time 0 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1)