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.243/2.243, allocations: 248.5 MB / 261 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 190.8 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.2 MB / 0.571 GB, free: 11.78 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.0012/0.001199, allocations: 90.48 kB / 0.6754 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.532e-05, allocations: 4 kB / 0.787 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2713, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8504/1.122, allocations: 140.2 MB / 1.028 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.122, allocations: 77.98 kB / 1.028 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1172/1.239, allocations: 20.77 MB / 1.048 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.785e-06/1.239, allocations: 0 / 1.048 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001601/1.24, allocations: 35.31 kB / 1.048 GB, free: 9.316 MB / 0.6667 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.006308/1.246, allocations: 1.433 MB / 1.049 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.131e-05/1.246, allocations: 11.97 kB / 1.049 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009278/1.247, allocations: 230.7 kB / 1.05 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008178/1.248, allocations: 169.9 kB / 1.05 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/1.25, allocations: 0.6567 MB / 1.05 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/1.251, allocations: 134.6 kB / 1.051 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007728/1.251, allocations: 163.9 kB / 1.051 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006202/1.258, allocations: 1.435 MB / 1.052 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.354e-05/1.258, allocations: 0 / 1.052 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/1.258, allocations: 66.81 kB / 1.052 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/1.258, allocations: 36 kB / 1.052 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003949/1.262, allocations: 1.046 MB / 1.053 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/1.275, allocations: 4.772 MB / 1.058 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/1.277, allocations: 0.8462 MB / 1.059 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009174/1.278, allocations: 348.9 kB / 1.059 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/1.279, allocations: 20.77 kB / 1.059 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/1.28, allocations: 496.1 kB / 1.06 GB, free: 432 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=106): time 3.958e-06/1.28, allocations: 0 / 1.06 GB, free: 432 kB / 0.6667 GB Notification: Performance of matching and sorting (n=106): time 0.002394/1.282, allocations: 0.8303 MB / 1.06 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/1.282, allocations: 67.47 kB / 1.06 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/1.284, allocations: 0.7573 MB / 1.061 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002277/1.284, allocations: 61.77 kB / 1.061 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006818/1.285, allocations: 0.5917 MB / 1.062 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/1.285, allocations: 298.6 kB / 1.062 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-05/1.285, allocations: 25.38 kB / 1.062 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001988/1.286, allocations: 361.5 kB / 1.062 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/1.287, allocations: 331.2 kB / 1.063 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/1.288, allocations: 0.534 MB / 1.063 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009743/1.289, allocations: 345.9 kB / 1.064 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.289, allocations: 4 kB / 1.064 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002832/1.292, allocations: 1.029 MB / 1.065 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009107/1.293, allocations: 1.924 MB / 1.067 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/1.293, allocations: 4 kB / 1.067 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.044e-05/1.293, allocations: 12 kB / 1.067 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.295, allocations: 194.1 kB / 1.067 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.251e-05/1.295, allocations: 15.97 kB / 1.067 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.296, allocations: 159.8 kB / 1.067 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/1.296, allocations: 44.88 kB / 1.067 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.296, allocations: 0 / 1.067 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002566/1.299, allocations: 0.911 MB / 1.068 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.299, allocations: 4 kB / 1.068 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/1.299, allocations: 12 kB / 1.068 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.3, allocations: 174.2 kB / 1.068 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-05/1.3, allocations: 19.94 kB / 1.068 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/1.302, allocations: 140.3 kB / 1.068 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/1.302, allocations: 46.05 kB / 1.068 GB, free: 9.105 MB / 0.6823 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 () * 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.0004642/1.302, allocations: 215 kB / 1.068 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/1.302, allocations: 110.6 kB / 1.069 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/1.305, allocations: 0.9016 MB / 1.069 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.305, allocations: 8 kB / 1.069 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.305, allocations: 0 / 1.069 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/1.305, allocations: 7.938 kB / 1.069 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005731/1.311, allocations: 2.286 MB / 1.072 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/1.311, allocations: 0 / 1.072 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.312, allocations: 135.6 kB / 1.072 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/1.312, allocations: 4 kB / 1.072 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-05/1.312, allocations: 25.05 kB / 1.072 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/1.312, allocations: 4 kB / 1.072 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.312, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/1.316, allocations: 1.03 MB / 1.073 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/1.316, allocations: 183.7 kB / 1.073 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/1.317, allocations: 27.98 kB / 1.073 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009013/1.317, allocations: 75.94 kB / 1.073 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/1.318, allocations: 108.8 kB / 1.073 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.318, allocations: 39.94 kB / 1.073 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001212/1.319, allocations: 0.5265 MB / 1.074 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/1.319, allocations: 0 / 1.074 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002256/1.321, allocations: 466.6 kB / 1.074 GB, free: 4.012 MB / 0.6823 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) * 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.003209/1.325, allocations: 1.845 MB / 1.076 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004051/1.329, allocations: 1.442 MB / 1.077 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.329, allocations: 0 / 1.077 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/1.33, allocations: 474.3 kB / 1.078 GB, free: 220 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000817/1.331, allocations: 91.39 kB / 1.078 GB, free: 136 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/1.337, allocations: 1.683 MB / 1.08 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000996/1.338, allocations: 1.16 MB / 1.081 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001353/1.339, allocations: 176.1 kB / 1.081 GB, free: 13.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/1.34, allocations: 499.2 kB / 1.081 GB, free: 12.53 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.34, allocations: 4 kB / 1.081 GB, free: 12.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07062/1.411, allocations: 19.72 MB / 1.101 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004029/1.411, allocations: 202.8 kB / 1.101 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/4.851, allocations: 0 / 1.101 GB, free: 8.793 MB / 0.7136 GB