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.163/2.163, allocations: 251 MB / 265.9 MB, free: 11.67 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.001509/0.001509, allocations: 169.7 kB / 325.5 MB, free: 2.879 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.54/2.54, 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.001157/0.001157, allocations: 100.1 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006844/0.0006844, allocations: 12.66 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2151, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2266/0.4417, allocations: 135.1 MB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.4421, allocations: 75.95 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07528/0.5174, allocations: 17.46 MB / 1.048 GB, free: 8.609 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5175, allocations: 0 / 1.048 GB, free: 8.609 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.803e-05/0.5175, allocations: 24 kB / 1.048 GB, free: 8.586 MB / 0.698 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.004107/0.5217, allocations: 1.368 MB / 1.049 GB, free: 7.129 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.5217, allocations: 8.031 kB / 1.049 GB, free: 7.121 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005751/0.5223, allocations: 185.4 kB / 1.049 GB, free: 6.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000483/0.5228, allocations: 142.4 kB / 1.05 GB, free: 6.789 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.5234, allocations: 354.5 kB / 1.05 GB, free: 6.402 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.5235, allocations: 106.3 kB / 1.05 GB, free: 6.297 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.5238, allocations: 124 kB / 1.05 GB, free: 6.176 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/0.5272, allocations: 1.124 MB / 1.051 GB, free: 5.016 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.315e-05/0.5273, allocations: 0 / 1.051 GB, free: 5.016 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.5275, allocations: 51.98 kB / 1.051 GB, free: 4.965 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/0.5276, allocations: 31.95 kB / 1.051 GB, free: 4.934 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.5303, allocations: 0.8198 MB / 1.052 GB, free: 4.113 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008773/0.5391, allocations: 2.967 MB / 1.055 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/0.5422, allocations: 0.9192 MB / 1.056 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.5424, allocations: 12.83 kB / 1.056 GB, free: 136 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6086/1.151, allocations: 0.6124 MB / 1.056 GB, free: 144.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=107): time 6.612e-06/1.151, allocations: 0.9688 kB / 1.056 GB, free: 144.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=107): time 0.004732/1.156, allocations: 1.273 MB / 1.058 GB, free: 144.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.156, allocations: 259.3 kB / 1.058 GB, free: 144.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/1.158, allocations: 0.7142 MB / 1.059 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/1.158, allocations: 53.39 kB / 1.059 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/1.158, allocations: 475.1 kB / 1.059 GB, free: 143.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005813/1.159, allocations: 279.8 kB / 1.059 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/1.159, allocations: 28.78 kB / 1.059 GB, free: 143.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.159, allocations: 348.4 kB / 1.06 GB, free: 143.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/1.16, allocations: 292.6 kB / 1.06 GB, free: 143.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/1.162, allocations: 0.5553 MB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/1.163, allocations: 338.1 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/1.163, allocations: 3.156 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003467/1.167, allocations: 1.017 MB / 1.062 GB, free: 143.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/1.167, allocations: 7.844 kB / 1.062 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/1.167, allocations: 8.75 kB / 1.062 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.491e-05/1.167, allocations: 14.44 kB / 1.062 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.168, allocations: 177.9 kB / 1.062 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.723e-05/1.168, allocations: 21.45 kB / 1.062 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.17, allocations: 143.3 kB / 1.062 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/1.17, allocations: 44.52 kB / 1.062 GB, free: 143 MB / 0.698 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 () * Number of clocked 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.0009489/1.171, allocations: 314.4 kB / 1.063 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/1.171, allocations: 111.3 kB / 1.063 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003417/1.175, allocations: 0.9808 MB / 1.064 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/1.175, allocations: 11.44 kB / 1.064 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/1.175, allocations: 3.375 kB / 1.064 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-05/1.175, allocations: 8.719 kB / 1.064 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008274/1.183, allocations: 2.822 MB / 1.066 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/1.183, allocations: 2.766 kB / 1.066 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.184, allocations: 109.1 kB / 1.067 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-05/1.184, allocations: 6.719 kB / 1.067 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002445/1.185, allocations: 32.61 kB / 1.067 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.707e-05/1.185, allocations: 8.094 kB / 1.067 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/1.185, allocations: 6.984 kB / 1.067 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/1.189, allocations: 1.298 MB / 1.068 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/1.189, allocations: 196.9 kB / 1.068 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004187/1.189, allocations: 33.47 kB / 1.068 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/1.191, allocations: 77.89 kB / 1.068 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005291/1.191, allocations: 105.8 kB / 1.068 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/1.192, allocations: 47.19 kB / 1.068 GB, free: 141.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001328/1.193, allocations: 0.522 MB / 1.069 GB, free: 141.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.41e-07/1.193, allocations: 4.281 kB / 1.069 GB, free: 141.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001779/1.195, allocations: 237 kB / 1.069 GB, free: 141.1 MB / 0.698 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) * Number of clocked states: 0 () * 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.004572/1.199, allocations: 2.529 MB / 1.072 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00341/1.203, allocations: 0.8459 MB / 1.072 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.203, allocations: 1.062 kB / 1.072 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/1.205, allocations: 0.5203 MB / 1.073 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.207, allocations: 101.4 kB / 1.073 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009085/1.216, allocations: 8.276 MB / 1.081 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/1.217, allocations: 1.066 MB / 1.082 GB, free: 131.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009231/1.218, allocations: 117.5 kB / 1.082 GB, free: 131.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.219, allocations: 417.8 kB / 1.083 GB, free: 131.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.773e-06/1.219, allocations: 0 / 1.083 GB, free: 131.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0643/1.283, allocations: 16.54 MB / 1.099 GB, free: 129.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/1.284, allocations: 223.2 kB / 1.099 GB, free: 129.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.324/4.608, allocations: 0 / 1.099 GB, free: 129.1 MB / 0.698 GB