Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.SetPoints.Validation.ZoneTemperatures.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.SetPoints.Validation.ZoneTemperatures,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_SetPoints_Validation_ZoneTemperatures",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.211/2.211, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001517, allocations: 189.8 kB / 325.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.417/2.417, allocations: 205.4 MB / 0.5764 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 96.84 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004904, allocations: 15.78 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2112, allocations: 106.3 MB / 0.8988 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2677/0.479, allocations: 140.3 MB / 1.036 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.4794, allocations: 83.94 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08291/0.5623, allocations: 20.79 MB / 1.056 GB, free: 52 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5624, allocations: 0 / 1.056 GB, free: 52 kB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001041/0.5625, allocations: 39.94 kB / 1.056 GB, free: 12 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.6113/1.174, allocations: 1.522 MB / 1.058 GB, free: 139.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.174, allocations: 10.88 kB / 1.058 GB, free: 139.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000548/1.174, allocations: 227.3 kB / 1.058 GB, free: 139.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004157/1.175, allocations: 172.7 kB / 1.058 GB, free: 139.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/1.176, allocations: 0.6598 MB / 1.059 GB, free: 139.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/1.176, allocations: 133.8 kB / 1.059 GB, free: 139.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003254/1.177, allocations: 165.1 kB / 1.059 GB, free: 139.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004477/1.181, allocations: 1.513 MB / 1.061 GB, free: 139 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.217e-05/1.181, allocations: 0 / 1.061 GB, free: 139 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/1.181, allocations: 73.83 kB / 1.061 GB, free: 139 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/1.182, allocations: 37.91 kB / 1.061 GB, free: 139 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/1.186, allocations: 1.179 MB / 1.062 GB, free: 138.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/1.198, allocations: 4.773 MB / 1.066 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/1.202, allocations: 0.9683 MB / 1.067 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/1.202, allocations: 12.86 kB / 1.067 GB, free: 137.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001997/1.204, allocations: 0.5465 MB / 1.068 GB, free: 137.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=106): time 5.079e-06/1.204, allocations: 0.6875 kB / 1.068 GB, free: 137.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=106): time 0.005153/1.209, allocations: 1.302 MB / 1.069 GB, free: 137.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/1.21, allocations: 71.34 kB / 1.069 GB, free: 137.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/1.212, allocations: 0.7715 MB / 1.07 GB, free: 137.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003559/1.212, allocations: 60.73 kB / 1.07 GB, free: 137.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008373/1.213, allocations: 0.5938 MB / 1.071 GB, free: 136.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000477/1.213, allocations: 295.7 kB / 1.071 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/1.213, allocations: 25.56 kB / 1.071 GB, free: 136.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.214, allocations: 352.8 kB / 1.071 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/1.215, allocations: 402.4 kB / 1.072 GB, free: 136.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/1.217, allocations: 0.5969 MB / 1.072 GB, free: 136.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/1.219, allocations: 404.2 kB / 1.073 GB, free: 136.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.219, allocations: 1.156 kB / 1.073 GB, free: 136.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.004255/1.223, allocations: 1.158 MB / 1.074 GB, free: 136 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004333/1.223, allocations: 1.922 MB / 1.076 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/1.223, allocations: 4.469 kB / 1.076 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/1.223, allocations: 11.81 kB / 1.076 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.225, allocations: 196.8 kB / 1.076 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.194e-05/1.225, allocations: 15.55 kB / 1.076 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/1.226, allocations: 163.5 kB / 1.076 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/1.227, allocations: 45.17 kB / 1.076 GB, free: 133.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.227, allocations: 6.062 kB / 1.076 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003118/1.23, allocations: 0.9842 MB / 1.077 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/1.23, allocations: 5.219 kB / 1.077 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/1.23, allocations: 11.56 kB / 1.077 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/1.231, allocations: 181.5 kB / 1.077 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.009e-05/1.231, allocations: 13.16 kB / 1.077 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/1.232, allocations: 138.9 kB / 1.077 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/1.233, allocations: 47.41 kB / 1.077 GB, free: 133.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 90 ($PRE.TZonSet.truHol.onDelay.u,$PRE.TZonSet.truHol.toOutputTrue.enableFire,$PRE.TZonSet.truHol.toInitial.enableFire,$PRE.TZonSet.tim.yAcc,TZonSet.tim.yAcc,$whenCondition4,$PRE.TZonSet.truHol.onDelay.t_next,$whenCondition2,$whenCondition1,TZonSet.truHol.onDelay.t_next,TZonSet.truHol.stateGraphRoot.resume,TZonSet.truHol.stateGraphRoot.suspend,TZonSet.winSenCon.y,TZonSet.have_occSenCon.y,TZonSet.heaSetAdjCon.y,TZonSet.cooSetAdjCon.y,$whenCondition10,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,TZonSet.uOpeMod,TZonSet.yAla,$PRE.TZonSet.cooSetFre.y,TZonSet.cooSetFre.y,TZonSet.cooSetFre.trigger,TZonSet.or5.y,$PRE.TZonSet.heaSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.u,$PRE.TZonSet.tim.entryTime,TZonSet.tim.entryTime,TZonSet.truHol.stateGraphRoot.activeSteps,TZonSet.truHol.onDelay.u,TZonSet.truHol.onDelay.y,$PRE.TZonSet.truHol.initialStep.localActive,TZonSet.truHol.initialStep.localActive,$PRE.TZonSet.truHol.initialStep.newActive,TZonSet.truHol.initialStep.newActive,$PRE.TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.active,$PRE.TZonSet.truHol.outputTrue.localActive,TZonSet.truHol.outputTrue.localActive,$PRE.TZonSet.truHol.outputTrue.newActive,TZonSet.truHol.outputTrue.newActive,$PRE.TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.outputTrue.active,TZonSet.truHol.toOutputTrue.enableFire,TZonSet.truHol.toInitial.enableFire,$PRE.TZonSet.edg1.u,TZonSet.edg1.u,$PRE.TZonSet.cooSetSam.y,TZonSet.cooSetSam.y,TZonSet.cooSetSam.trigger,$PRE.TZonSet.heaSetSam.y,TZonSet.heaSetSam.y,TZonSet.greThr.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or3.y,TZonSet.and11.u1,TZonSet.and11.y,TZonSet.lesEqu.y,TZonSet.greEqu1.y,TZonSet.greEqu2.y,TZonSet.uOccSen,TZonSet.uWinSta,booToInt.u,$PRE.winSta.pulseStart,winSta.pulseStart,$PRE.occSta.pulseStart,occSta.pulseStart,$PRE.TZonSet.edg.u,TZonSet.edg.u,TZonSet.not1.y,TZonSet.not2.y,TZonSet.or1.u3,TZonSet.or1.u2,TZonSet.or1.u1,TZonSet.or2.u2,TZonSet.or2.u1,TZonSet.or4.u1,TZonSet.or4.u3,TZonSet.or4.u2,$PRE.TZonSet.tim.reset_internal,TZonSet.tim.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001059/1.234, allocations: 428.6 kB / 1.078 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/1.234, allocations: 112.6 kB / 1.078 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/1.238, allocations: 1.019 MB / 1.079 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/1.238, allocations: 10.28 kB / 1.079 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.238, allocations: 6.562 kB / 1.079 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/1.238, allocations: 6.891 kB / 1.079 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00713/1.245, allocations: 2.403 MB / 1.081 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.245, allocations: 4.969 kB / 1.081 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.246, allocations: 131.6 kB / 1.081 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/1.246, allocations: 5.844 kB / 1.081 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.606e-05/1.246, allocations: 22.72 kB / 1.081 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/1.246, allocations: 12.28 kB / 1.081 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.246, allocations: 1.312 kB / 1.081 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/1.249, allocations: 1.151 MB / 1.083 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/1.25, allocations: 187 kB / 1.083 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/1.25, allocations: 26.2 kB / 1.083 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008575/1.251, allocations: 76.98 kB / 1.083 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/1.251, allocations: 97.48 kB / 1.083 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.724e-05/1.251, allocations: 34.62 kB / 1.083 GB, free: 132.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00102/1.252, allocations: 0.5327 MB / 1.084 GB, free: 132 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.41e-07/1.252, allocations: 0 / 1.084 GB, free: 132 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002197/1.255, allocations: 455.2 kB / 1.084 GB, free: 131.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 53 (TZonSet.cooSetFre.trigger,TZonSet.truHol.initialStep.localActive,TZonSet.truHol.outputTrue.active,TZonSet.truHol.onDelay.u,TZonSet.cooSetSam.trigger,TZonSet.truHol.outputTrue.localActive,TZonSet.tim.u,$cse1,$cse2,$whenCondition10,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,TZonSet.uOpeMod,TZonSet.yAla,TZonSet.cooSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.entryTime,TZonSet.tim.yAcc,TZonSet.truHol.stateGraphRoot.activeSteps,TZonSet.truHol.onDelay.y,TZonSet.truHol.onDelay.t_next,TZonSet.truHol.initialStep.newActive,TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.active,TZonSet.truHol.outputTrue.newActive,TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.toOutputTrue.enableFire,TZonSet.truHol.toInitial.enableFire,TZonSet.edg1.u,TZonSet.cooSetSam.y,TZonSet.heaSetSam.y,TZonSet.greThr.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or3.y,TZonSet.and11.u1,TZonSet.and11.y,TZonSet.lesEqu.y,TZonSet.greEqu1.y,TZonSet.greEqu2.y,TZonSet.uOccSen,TZonSet.uWinSta,booToInt.u,winSta.pulseStart,occSta.pulseStart,TZonSet.or5.y) * Number of discrete states: 5 (TZonSet.truHol.onDelay.t_next,TZonSet.tim.y,TZonSet.truHol.outputTrue.newActive,TZonSet.edg1.u,TZonSet.truHol.initialStep.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004308/1.259, allocations: 1.979 MB / 1.086 GB, free: 130.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005054/1.264, allocations: 1.582 MB / 1.087 GB, free: 130 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.264, allocations: 0 / 1.087 GB, free: 130 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/1.266, allocations: 0.521 MB / 1.088 GB, free: 129.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009427/1.267, allocations: 90.41 kB / 1.088 GB, free: 129.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008928/1.276, allocations: 6.611 MB / 1.094 GB, free: 124.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/1.277, allocations: 1.15 MB / 1.096 GB, free: 123.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001087/1.278, allocations: 140.4 kB / 1.096 GB, free: 123.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.279, allocations: 0.5012 MB / 1.096 GB, free: 122.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.503e-06/1.279, allocations: 0 / 1.096 GB, free: 122.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07177/1.351, allocations: 18.08 MB / 1.114 GB, free: 114.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/1.351, allocations: 229.7 kB / 1.114 GB, free: 114.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.381/4.732, allocations: 3.266 kB / 1.114 GB, free: 114.7 MB / 0.698 GB