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.401/2.401, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001471/0.001471, allocations: 179.9 kB / 315.4 MB, free: 4.016 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.072/2.072, allocations: 205.3 MB / 0.5662 GB, free: 0.5898 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.001039/0.001039, allocations: 87.56 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.042e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1983, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8992/1.098, allocations: 135.2 MB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.098, allocations: 82 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07564/1.174, allocations: 17.35 MB / 1.033 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.245e-06/1.174, allocations: 0 / 1.033 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.827e-05/1.174, allocations: 24 kB / 1.033 GB, free: 5.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.004293/1.178, allocations: 1.283 MB / 1.035 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/1.178, allocations: 8.031 kB / 1.035 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006176/1.179, allocations: 150.2 kB / 1.035 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/1.179, allocations: 352.8 kB / 1.035 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/1.179, allocations: 46.92 kB / 1.035 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004168/1.18, allocations: 87.48 kB / 1.035 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002507/1.182, allocations: 0.6986 MB / 1.036 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/1.185, allocations: 0.9211 MB / 1.037 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/1.185, allocations: 0 / 1.037 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/1.186, allocations: 11.94 kB / 1.037 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/1.186, allocations: 28 kB / 1.037 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008594/1.194, allocations: 2.688 MB / 1.039 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/1.197, allocations: 0.7969 MB / 1.04 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000945/1.198, allocations: 292 kB / 1.04 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/1.198, allocations: 23.88 kB / 1.04 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/1.2, allocations: 0.5569 MB / 1.041 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=107): time 5.741e-06/1.2, allocations: 0 / 1.041 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of matching and sorting (n=107): time 0.002615/1.202, allocations: 0.8374 MB / 1.042 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/1.203, allocations: 251.4 kB / 1.042 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009667/1.204, allocations: 474.8 kB / 1.043 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002487/1.204, allocations: 37.08 kB / 1.043 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005454/1.204, allocations: 476.1 kB / 1.043 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004746/1.205, allocations: 273.1 kB / 1.043 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/1.205, allocations: 4 kB / 1.043 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002311/1.205, allocations: 383.6 kB / 1.044 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007878/1.206, allocations: 249.7 kB / 1.044 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009713/1.207, allocations: 0.5006 MB / 1.044 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00088/1.208, allocations: 293.2 kB / 1.045 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/1.208, allocations: 4 kB / 1.045 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002558/1.211, allocations: 0.8309 MB / 1.045 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/1.211, allocations: 8 kB / 1.045 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/1.211, allocations: 12 kB / 1.045 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.48e-05/1.211, allocations: 15.95 kB / 1.045 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/1.212, allocations: 182.9 kB / 1.046 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.139e-05/1.212, allocations: 23.86 kB / 1.046 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.214, allocations: 95.73 kB / 1.046 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/1.214, allocations: 42.5 kB / 1.046 GB, free: 10.74 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.0004505/1.214, allocations: 178.9 kB / 1.046 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00255/1.217, allocations: 0.8296 MB / 1.047 GB, free: 9.945 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/1.217, allocations: 94.91 kB / 1.047 GB, free: 9.852 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/1.22, allocations: 0.8382 MB / 1.048 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/1.22, allocations: 12 kB / 1.048 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.22, allocations: 0 / 1.048 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/1.22, allocations: 7.984 kB / 1.048 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006104/1.226, allocations: 2.544 MB / 1.05 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/1.226, allocations: 4 kB / 1.05 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009498/1.227, allocations: 106.9 kB / 1.05 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.098e-05/1.227, allocations: 8 kB / 1.05 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/1.227, allocations: 23.14 kB / 1.05 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/1.227, allocations: 4 kB / 1.05 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/1.227, allocations: 11.89 kB / 1.05 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/1.23, allocations: 1.18 MB / 1.052 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/1.23, allocations: 155.3 kB / 1.052 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/1.231, allocations: 18.73 kB / 1.052 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/1.232, allocations: 63.19 kB / 1.052 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003813/1.232, allocations: 104.5 kB / 1.052 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.232, allocations: 46.84 kB / 1.052 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005997/1.233, allocations: 323.2 kB / 1.052 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.31e-07/1.233, allocations: 0 / 1.052 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001479/1.235, allocations: 222.5 kB / 1.052 GB, free: 5.199 MB / 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.003432/1.238, allocations: 2.401 MB / 1.055 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002212/1.24, allocations: 0.7247 MB / 1.055 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.24, allocations: 3.312 kB / 1.055 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/1.242, allocations: 478.4 kB / 1.056 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/1.243, allocations: 70.98 kB / 1.056 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/1.248, allocations: 1.383 MB / 1.057 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/1.249, allocations: 1.062 MB / 1.058 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008003/1.25, allocations: 102.2 kB / 1.058 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008673/1.251, allocations: 401.5 kB / 1.059 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/1.251, allocations: 0 / 1.059 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08216/1.333, allocations: 13.95 MB / 1.072 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/1.333, allocations: 189.3 kB / 1.073 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.096/4.429, allocations: 1.875 kB / 1.073 GB, free: 1.473 MB / 0.6823 GB