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.482/2.482, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.002297/0.002297, allocations: 173.3 kB / 315.4 MB, free: 4.047 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.128/2.128, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 90.5 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.294e-05, allocations: 0 / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2097, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8869/1.097, allocations: 140.4 MB / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/1.097, allocations: 80.58 kB / 1.021 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08116/1.178, allocations: 20.61 MB / 1.041 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.404e-06/1.178, allocations: 0 / 1.041 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001062/1.178, allocations: 32 kB / 1.042 GB, free: 13.34 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.004081/1.183, allocations: 1.43 MB / 1.043 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/1.183, allocations: 8.031 kB / 1.043 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005665/1.183, allocations: 173.9 kB / 1.043 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/1.185, allocations: 0.6583 MB / 1.044 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/1.185, allocations: 63.5 kB / 1.044 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/1.185, allocations: 103.7 kB / 1.044 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003135/1.188, allocations: 0.9527 MB / 1.045 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/1.192, allocations: 1.203 MB / 1.046 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/1.192, allocations: 0 / 1.046 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/1.192, allocations: 14.86 kB / 1.046 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/1.192, allocations: 36 kB / 1.046 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/1.203, allocations: 4.454 MB / 1.05 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/1.205, allocations: 0.7927 MB / 1.051 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/1.206, allocations: 330.6 kB / 1.051 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.905e-05/1.206, allocations: 12.84 kB / 1.051 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/1.208, allocations: 448.5 kB / 1.052 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=106): time 4.068e-06/1.208, allocations: 0 / 1.052 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of matching and sorting (n=106): time 0.002224/1.21, allocations: 0.7642 MB / 1.053 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/1.21, allocations: 79.97 kB / 1.053 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/1.211, allocations: 0.5766 MB / 1.053 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000168/1.211, allocations: 37.45 kB / 1.053 GB, free: 4.008 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006725/1.212, allocations: 0.5985 MB / 1.054 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004066/1.212, allocations: 274.8 kB / 1.054 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/1.212, allocations: 0 / 1.054 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002594/1.213, allocations: 402.3 kB / 1.055 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009084/1.214, allocations: 309.2 kB / 1.055 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.215, allocations: 0.5067 MB / 1.055 GB, free: 2.355 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008768/1.216, allocations: 316.9 kB / 1.056 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/1.216, allocations: 4 kB / 1.056 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002534/1.218, allocations: 0.9052 MB / 1.057 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009593/1.219, allocations: 1.926 MB / 1.058 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/1.219, allocations: 4 kB / 1.058 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.587e-05/1.219, allocations: 12 kB / 1.058 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.221, allocations: 193.6 kB / 1.059 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/1.221, allocations: 15.88 kB / 1.059 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.222, allocations: 115.3 kB / 1.059 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/1.222, allocations: 46.06 kB / 1.059 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.222, allocations: 4 kB / 1.059 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002142/1.225, allocations: 0.7759 MB / 1.06 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/1.225, allocations: 8 kB / 1.06 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/1.225, allocations: 15.98 kB / 1.06 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/1.226, allocations: 177.1 kB / 1.06 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/1.226, allocations: 11.98 kB / 1.06 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.227, allocations: 87.8 kB / 1.06 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/1.227, allocations: 46.67 kB / 1.06 GB, free: 14.21 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.0004359/1.228, allocations: 179.3 kB / 1.06 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00206/1.23, allocations: 0.7599 MB / 1.061 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/1.23, allocations: 86.95 kB / 1.061 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/1.232, allocations: 0.8048 MB / 1.062 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/1.232, allocations: 12 kB / 1.062 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/1.232, allocations: 11.95 kB / 1.062 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/1.232, allocations: 3.984 kB / 1.062 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005373/1.238, allocations: 2.03 MB / 1.064 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.238, allocations: 4.094 kB / 1.064 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.239, allocations: 130.2 kB / 1.064 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/1.239, allocations: 8 kB / 1.064 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.264e-05/1.239, allocations: 11.97 kB / 1.064 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.868e-06/1.239, allocations: 4 kB / 1.064 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.239, allocations: 0 / 1.064 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/1.242, allocations: 0.9567 MB / 1.065 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/1.242, allocations: 171.5 kB / 1.065 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.242, allocations: 8 kB / 1.065 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/1.243, allocations: 63.36 kB / 1.065 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/1.243, allocations: 106.6 kB / 1.065 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.243, allocations: 34.92 kB / 1.065 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006875/1.244, allocations: 368.7 kB / 1.065 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/1.244, allocations: 0 / 1.065 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001927/1.246, allocations: 433.7 kB / 1.066 GB, free: 9.371 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.002885/1.249, allocations: 1.756 MB / 1.068 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003635/1.253, allocations: 1.339 MB / 1.069 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.253, allocations: 0 / 1.069 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/1.254, allocations: 450.4 kB / 1.069 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/1.255, allocations: 61.78 kB / 1.069 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/1.26, allocations: 1.585 MB / 1.071 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.262, allocations: 1.15 MB / 1.072 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001328/1.263, allocations: 154.7 kB / 1.072 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000965/1.264, allocations: 493.4 kB / 1.073 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of SimCode: time 1.392e-06/1.264, allocations: 4 kB / 1.073 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08066/1.345, allocations: 17.05 MB / 1.089 GB, free: 2.723 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000422/1.345, allocations: 186.7 kB / 1.09 GB, free: 2.531 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/4.545, allocations: 0.7812 kB / 1.09 GB, free: 2.531 MB / 0.698 GB