Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.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.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",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.263/2.263, allocations: 248.5 MB / 261.1 MB, free: 6.012 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.001412/0.001412, allocations: 180.4 kB / 320.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.2 MB / 0.571 GB, free: 11.79 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.001094/0.001094, allocations: 97.56 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.855e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2012, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9098/1.111, allocations: 135 MB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/1.111, allocations: 72.03 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08001/1.192, allocations: 17.47 MB / 1.04 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.014e-06/1.192, allocations: 0 / 1.04 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.757e-05/1.192, allocations: 24 kB / 1.04 GB, free: 1.102 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004288/1.196, allocations: 1.288 MB / 1.041 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.196, allocations: 8.031 kB / 1.041 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005338/1.197, allocations: 182.4 kB / 1.041 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004439/1.197, allocations: 142.3 kB / 1.041 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/1.198, allocations: 365.1 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/1.198, allocations: 101.2 kB / 1.042 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003636/1.198, allocations: 130.4 kB / 1.042 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/1.201, allocations: 1.084 MB / 1.043 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/1.202, allocations: 0 / 1.043 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/1.202, allocations: 53.92 kB / 1.043 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/1.202, allocations: 31.95 kB / 1.043 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/1.204, allocations: 0.7638 MB / 1.044 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009268/1.214, allocations: 2.961 MB / 1.047 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/1.216, allocations: 0.871 MB / 1.047 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/1.218, allocations: 327.6 kB / 1.048 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/1.218, allocations: 21.38 kB / 1.048 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001936/1.22, allocations: 0.5965 MB / 1.048 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=107): time 5.881e-06/1.22, allocations: 4 kB / 1.048 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=107): time 0.003039/1.223, allocations: 0.9145 MB / 1.049 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/1.224, allocations: 255.5 kB / 1.05 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/1.225, allocations: 0.7045 MB / 1.05 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003059/1.226, allocations: 57.64 kB / 1.05 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005439/1.226, allocations: 474.2 kB / 1.051 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004726/1.227, allocations: 284.1 kB / 1.051 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/1.227, allocations: 24.56 kB / 1.051 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.227, allocations: 351.2 kB / 1.051 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009647/1.228, allocations: 268.2 kB / 1.052 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/1.229, allocations: 0.5349 MB / 1.052 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/1.23, allocations: 323.7 kB / 1.052 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/1.23, allocations: 4 kB / 1.052 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00301/1.233, allocations: 0.9674 MB / 1.053 GB, free: 6.137 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/1.233, allocations: 12.22 kB / 1.053 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/1.233, allocations: 8 kB / 1.053 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.439e-05/1.233, allocations: 12 kB / 1.053 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/1.235, allocations: 174.9 kB / 1.054 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.024e-05/1.235, allocations: 19.94 kB / 1.054 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.236, allocations: 143.7 kB / 1.054 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/1.237, allocations: 46.98 kB / 1.054 GB, free: 5.762 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$whenCondition12,$PRE.trimRespondLogic1.tim.t_next,$whenCondition7,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,trimRespondLogic.sampler.sampleTrigger,$whenCondition15,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition16,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.trimRespondLogic2.tim.t_next,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.t_next,trimRespondLogic.lesEquThr1.y,trimRespondLogic.greEquThr.y,trimRespondLogic1.lesEquThr1.y,trimRespondLogic1.greEquThr.y,$whenCondition13,$whenCondition14,$whenCondition8,$whenCondition9,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,reaToInt1.y,trimRespondLogic1.greEquThr1.y,trimRespondLogic.greEquThr1.y,trimRespondLogic2.lesEquThr1.y,trimRespondLogic2.greEquThr.y,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.u,trimRespondLogic2.tim.y,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,$PRE.trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,$PRE.booPul.pulseStart,booPul.pulseStart,reaToInt2.y,trimRespondLogic2.greEquThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * 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.000484/1.237, allocations: 215.1 kB / 1.054 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/1.237, allocations: 114.5 kB / 1.054 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/1.24, allocations: 0.9314 MB / 1.055 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/1.24, allocations: 12 kB / 1.055 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/1.24, allocations: 7.938 kB / 1.055 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/1.24, allocations: 7.969 kB / 1.055 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006787/1.247, allocations: 2.784 MB / 1.058 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/1.247, allocations: 4 kB / 1.058 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009496/1.248, allocations: 110.9 kB / 1.058 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.182e-05/1.248, allocations: 8 kB / 1.058 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/1.249, allocations: 26.28 kB / 1.058 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.68e-05/1.249, allocations: 12.2 kB / 1.058 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.249, allocations: 4 kB / 1.058 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/1.251, allocations: 1.252 MB / 1.059 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/1.252, allocations: 197.3 kB / 1.059 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/1.252, allocations: 26.23 kB / 1.059 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.253, allocations: 81.94 kB / 1.059 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/1.254, allocations: 103.4 kB / 1.06 GB, free: 0.9688 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.254, allocations: 45.41 kB / 1.06 GB, free: 0.9336 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001071/1.255, allocations: 0.5163 MB / 1.06 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.11e-07/1.255, allocations: 0 / 1.06 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001311/1.256, allocations: 239.9 kB / 1.06 GB, free: 364 kB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 58 (trimRespondLogic2.tim.u,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.pulseStart,reaToInt2.y,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition16,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u,trimRespondLogic1.tim.u,trimRespondLogic2.lesEquThr1.y,trimRespondLogic2.greEquThr.y,trimRespondLogic.lesEquThr1.y,trimRespondLogic.greEquThr.y,trimRespondLogic1.lesEquThr1.y,trimRespondLogic1.greEquThr.y) * Number of discrete states: 6 (trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,trimRespondLogic1.uniDel.u,trimRespondLogic.uniDel.u,trimRespondLogic2.tim.t_next,trimRespondLogic2.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 19 * 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.00366/1.26, allocations: 2.499 MB / 1.063 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00229/1.262, allocations: 0.7856 MB / 1.063 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.262, allocations: 2 kB / 1.063 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/1.264, allocations: 0.4973 MB / 1.064 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/1.265, allocations: 102.1 kB / 1.064 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/1.27, allocations: 1.485 MB / 1.066 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009522/1.271, allocations: 1.063 MB / 1.067 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007947/1.272, allocations: 119.5 kB / 1.067 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007959/1.273, allocations: 414.5 kB / 1.067 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/1.273, allocations: 0 / 1.067 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06131/1.334, allocations: 16.88 MB / 1.084 GB, free: 9.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/1.334, allocations: 189.5 kB / 1.084 GB, free: 9.598 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/4.57, allocations: 0 / 1.084 GB, free: 9.598 MB / 0.698 GB