Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00172/0.00172, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002171/0.002171, allocations: 216 kB / 23.03 MB, free: 4.926 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.8 MB / 0.7715 GB, free: 3.895 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002179/0.002179, allocations: 63.23 kB / 1.118 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3391, allocations: 169.9 MB / 1.284 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002743/0.3418, allocations: 1.088 MB / 1.285 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.3441, allocations: 1.396 MB / 1.287 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.3442, allocations: 4 kB / 1.287 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.712e-05/0.3443, allocations: 27.67 kB / 1.287 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3445, allocations: 47.59 kB / 1.287 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009715/0.3455, allocations: 301.7 kB / 1.287 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.3461, allocations: 411.8 kB / 1.287 GB, free: 112 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.3463, allocations: 90.11 kB / 1.287 GB, free: 20 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.3465, allocations: 159.5 kB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.3468, allocations: 159.3 kB / 1.288 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3469, allocations: 48 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3471, allocations: 56 kB / 1.288 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.867e-05/0.3471, allocations: 63.75 kB / 1.288 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.3474, allocations: 139.4 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006586/0.348, allocations: 494.5 kB / 1.288 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.348, allocations: 0 / 1.288 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.348, allocations: 0 / 1.288 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.3481, allocations: 0 / 1.288 GB, free: 14.92 MB / 0.9981 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.001201/0.3493, allocations: 0.5394 MB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.3493, allocations: 16.03 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.184e-05/0.3493, allocations: 4.188 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.424e-05/0.3494, allocations: 54.73 kB / 1.289 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3495, allocations: 28.8 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.3502, allocations: 270.1 kB / 1.289 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.3503, allocations: 16.38 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.65e-05/0.3503, allocations: 28.38 kB / 1.289 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.3507, allocations: 169.5 kB / 1.29 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3507, allocations: 7.938 kB / 1.29 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.3507, allocations: 4 kB / 1.29 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3507, allocations: 4 kB / 1.29 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.351, allocations: 119.9 kB / 1.29 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.3521, allocations: 0.5775 MB / 1.29 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.3525, allocations: 146.8 kB / 1.29 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.3526, allocations: 65.11 kB / 1.29 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3527, allocations: 7.938 kB / 1.29 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.3529, allocations: 129.2 kB / 1.291 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.495e-06/0.3529, allocations: 0 / 1.291 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0005078/0.3534, allocations: 229.3 kB / 1.291 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.3535, allocations: 55.41 kB / 1.291 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.3537, allocations: 218.9 kB / 1.291 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.3538, allocations: 37.7 kB / 1.291 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3539, allocations: 144.6 kB / 1.291 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.354, allocations: 59.56 kB / 1.291 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.3541, allocations: 81.61 kB / 1.291 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3543, allocations: 330.8 kB / 1.292 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.3545, allocations: 163.3 kB / 1.292 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.3549, allocations: 304.1 kB / 1.292 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.3552, allocations: 209.4 kB / 1.292 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3552, allocations: 3.938 kB / 1.292 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006762/0.3559, allocations: 439.4 kB / 1.293 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/0.356, allocations: 63.39 kB / 1.293 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.356, allocations: 4 kB / 1.293 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.356, allocations: 0 / 1.293 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.3561, allocations: 19.94 kB / 1.293 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3561, allocations: 7.984 kB / 1.293 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.3565, allocations: 75.94 kB / 1.293 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.3565, allocations: 19.98 kB / 1.293 GB, free: 10.01 MB / 0.9981 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.0001781/0.3567, allocations: 147.5 kB / 1.293 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.3567, allocations: 23.8 kB / 1.293 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.3568, allocations: 29.8 kB / 1.293 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3568, allocations: 12 kB / 1.293 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3568, allocations: 0 / 1.293 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3568, allocations: 0 / 1.293 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.3571, allocations: 240.5 kB / 1.293 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3571, allocations: 0 / 1.293 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.3572, allocations: 23.86 kB / 1.293 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3572, allocations: 0 / 1.293 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3572, allocations: 8 kB / 1.293 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3572, allocations: 0 / 1.293 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3572, allocations: 0 / 1.293 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.3575, allocations: 194.8 kB / 1.294 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.3576, allocations: 35.73 kB / 1.294 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.3576, allocations: 11.98 kB / 1.294 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.3577, allocations: 7.984 kB / 1.294 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.542e-05/0.3578, allocations: 31.95 kB / 1.294 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3578, allocations: 7.984 kB / 1.294 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001393/0.3579, allocations: 152.3 kB / 1.294 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3579, allocations: 0 / 1.294 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003012/0.3582, allocations: 63.89 kB / 1.294 GB, free: 8.969 MB / 0.9981 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.0006966/0.3589, allocations: 0.7511 MB / 1.295 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006154/0.3595, allocations: 374 kB / 1.295 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3595, allocations: 0 / 1.295 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.3597, allocations: 71.91 kB / 1.295 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.36, allocations: 42.55 kB / 1.295 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.3636, allocations: 2.711 MB / 1.298 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.3637, allocations: 134.2 kB / 1.298 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.3638, allocations: 21.95 kB / 1.298 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.364, allocations: 79.39 kB / 1.298 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of SimCode: time 1.633e-06/0.364, allocations: 4 kB / 1.298 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.3921, allocations: 5.929 MB / 1.304 GB, free: 14.85 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.12, allocations: 15.78 kB / 1.304 GB, free: 14.84 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.678322994033806] Failed to read output from testmodel.py, exit status != 0: 12.30840579199139 12.331558812 11.978745594 Calling exit ...