Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 113.2 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 222.8 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.188/3.188, allocations: 0.49 GB / 0.7959 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 61.75 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3418, allocations: 176.1 MB / 1.327 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002953/0.3447, allocations: 1.156 MB / 1.328 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.347, allocations: 1.428 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.3472, allocations: 4 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.997e-05/0.3473, allocations: 27.67 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.3475, allocations: 47.59 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009159/0.3484, allocations: 295.2 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005688/0.349, allocations: 415.8 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.3493, allocations: 84.78 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.3495, allocations: 167.5 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.3498, allocations: 155.3 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.645e-05/0.3499, allocations: 48 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.35, allocations: 59.98 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.3501, allocations: 59.83 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.3503, allocations: 163.3 kB / 1.331 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006035/0.3509, allocations: 494.5 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3509, allocations: 0 / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3509, allocations: 0 / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.3509, allocations: 0 / 1.331 GB, free: 13.42 MB / 1.029 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.001024/0.3519, allocations: 0.5395 MB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3519, allocations: 8.031 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.352, allocations: 4.188 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.352, allocations: 58.67 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.3521, allocations: 28.8 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006746/0.3528, allocations: 269.9 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.3528, allocations: 24.38 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.3529, allocations: 28.38 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.3532, allocations: 174.2 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3532, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.3532, allocations: 11.94 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3532, allocations: 4 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.3535, allocations: 115.9 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.3546, allocations: 0.6554 MB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.355, allocations: 153.1 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3551, allocations: 65.05 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3551, allocations: 7.938 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.3554, allocations: 133 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.3554, allocations: 0 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004748/0.3559, allocations: 223.1 kB / 1.334 GB, free: 10.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3559, allocations: 51.41 kB / 1.334 GB, free: 10.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.3562, allocations: 222.6 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.3562, allocations: 45.69 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3564, allocations: 140.6 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.3564, allocations: 55.56 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.3566, allocations: 77.67 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3567, allocations: 326.8 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.357, allocations: 99.95 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.3572, allocations: 166.8 kB / 1.335 GB, free: 9.559 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.3575, allocations: 210 kB / 1.335 GB, free: 9.328 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3575, allocations: 0 / 1.335 GB, free: 9.328 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006404/0.3582, allocations: 374.4 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/0.3582, allocations: 63.39 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3582, allocations: 0 / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3583, allocations: 4 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.3584, allocations: 19.92 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3584, allocations: 8 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.3588, allocations: 79.94 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.3588, allocations: 19.98 kB / 1.335 GB, free: 8.742 MB / 1.029 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.0001736/0.359, allocations: 148.1 kB / 1.336 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.359, allocations: 23.8 kB / 1.336 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/0.3591, allocations: 33.8 kB / 1.336 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3591, allocations: 0 / 1.336 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3591, allocations: 4 kB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3591, allocations: 0 / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.3594, allocations: 264.5 kB / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3594, allocations: 0 / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.39e-05/0.3595, allocations: 23.86 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3595, allocations: 0 / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3595, allocations: 4 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3595, allocations: 4 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3595, allocations: 0 / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.3598, allocations: 196.9 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.3598, allocations: 19.8 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.3599, allocations: 8 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/0.36, allocations: 15.98 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/0.36, allocations: 27.94 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3601, allocations: 19.92 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001258/0.3602, allocations: 140.6 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3602, allocations: 7.938 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002918/0.3605, allocations: 59.89 kB / 1.336 GB, free: 7.695 MB / 1.029 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.0007083/0.3612, allocations: 0.7584 MB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005033/0.3617, allocations: 314.2 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3617, allocations: 0 / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.3618, allocations: 67.92 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3621, allocations: 37.53 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.3654, allocations: 2.445 MB / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.3658, allocations: 0.744 MB / 1.341 GB, free: 3.141 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.222e-05/0.3659, allocations: 25.95 kB / 1.341 GB, free: 3.117 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.366, allocations: 75.41 kB / 1.341 GB, free: 3.047 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.366, allocations: 0 / 1.341 GB, free: 3.047 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.3939, allocations: 5.69 MB / 1.346 GB, free: 13.54 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.99, allocations: 7.578 kB / 1.346 GB, free: 13.54 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.738179054984357] Failed to read output from testmodel.py, exit status != 0: 12.150313219986856 12.17566775 11.820216756 Calling exit ...