Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01622/0.01622, allocations: 106.6 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001966/0.001967, allocations: 186.4 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.576/2.576, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.347/2.347, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004819, allocations: 8 kB / 0.5871 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7013, allocations: 98.72 MB / 0.6835 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2676/0.9689, allocations: 127.6 MB / 0.8081 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.9692, allocations: 75.95 kB / 0.8082 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04029/1.01, allocations: 9.115 MB / 0.8171 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.166e-06/1.01, allocations: 0 / 0.8171 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.695e-05/1.01, allocations: 16 kB / 0.8171 GB, free: 5.324 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002908/1.013, allocations: 0.8937 MB / 0.818 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.013, allocations: 8.031 kB / 0.818 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003316/1.013, allocations: 114.5 kB / 0.8181 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/1.013, allocations: 87.02 kB / 0.8182 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/1.014, allocations: 285 kB / 0.8184 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/1.014, allocations: 61.3 kB / 0.8185 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/1.014, allocations: 68 kB / 0.8185 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/1.016, allocations: 0.6322 MB / 0.8192 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/1.016, allocations: 0 / 0.8192 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.016, allocations: 31.98 kB / 0.8192 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/1.016, allocations: 16 kB / 0.8192 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/1.018, allocations: 466.3 kB / 0.8197 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004848/1.023, allocations: 1.709 MB / 0.8213 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/1.025, allocations: 0.6113 MB / 0.8219 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.19e-05/1.025, allocations: 16.69 kB / 0.8219 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/1.026, allocations: 401.5 kB / 0.8223 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 3.487e-06/1.026, allocations: 0 / 0.8223 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.003137/1.03, allocations: 0.8214 MB / 0.8231 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/1.03, allocations: 93.09 kB / 0.8232 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008573/1.031, allocations: 433 kB / 0.8236 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/1.031, allocations: 41.7 kB / 0.8237 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/1.031, allocations: 277 kB / 0.8239 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/1.031, allocations: 173.7 kB / 0.8241 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/1.032, allocations: 12 kB / 0.8241 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.032, allocations: 370.8 kB / 0.8245 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007027/1.032, allocations: 177.9 kB / 0.8246 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007818/1.033, allocations: 331.9 kB / 0.8249 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/1.034, allocations: 209 kB / 0.8251 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.034, allocations: 4 kB / 0.8251 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002088/1.036, allocations: 0.6014 MB / 0.8257 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/1.036, allocations: 8 kB / 0.8257 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.036, allocations: 4 kB / 0.8257 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/1.036, allocations: 8 kB / 0.8258 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/1.037, allocations: 103.8 kB / 0.8259 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.519e-05/1.037, allocations: 11.94 kB / 0.8259 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/1.038, allocations: 79.61 kB / 0.8259 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/1.038, allocations: 27.98 kB / 0.826 GB, free: 11.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$whenCondition7,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,trimRespondLogic.sampler.sampleTrigger,$whenCondition8,$whenCondition9,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,reaToInt1.y,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.trimRespondLogic1.tim.t_next,$whenCondition4,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic1.sampler.sampleTrigger,$whenCondition2,$whenCondition3,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,$PRE.booPul.pulseStart,booPul.pulseStart,reaToInt2.y,trimRespondLogic1.tim.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.000538/1.038, allocations: 222.9 kB / 0.8262 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/1.039, allocations: 59.25 kB / 0.8262 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/1.041, allocations: 0.6716 MB / 0.8269 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/1.041, allocations: 8 kB / 0.8269 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.041, allocations: 0 / 0.8269 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/1.041, allocations: 3.984 kB / 0.8269 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/1.046, allocations: 1.537 MB / 0.8284 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/1.046, allocations: 4.031 kB / 0.8284 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/1.046, allocations: 71.89 kB / 0.8285 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/1.046, allocations: 7.938 kB / 0.8285 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/1.046, allocations: 19.97 kB / 0.8285 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/1.046, allocations: 4 kB / 0.8285 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.046, allocations: 0 / 0.8285 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/1.049, allocations: 0.8367 MB / 0.8293 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.049, allocations: 140.3 kB / 0.8295 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/1.049, allocations: 19.98 kB / 0.8295 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/1.05, allocations: 47.92 kB / 0.8295 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/1.05, allocations: 67.89 kB / 0.8296 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/1.05, allocations: 31.92 kB / 0.8296 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005974/1.051, allocations: 326.9 kB / 0.8299 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.051, allocations: 0 / 0.8299 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008717/1.051, allocations: 139.7 kB / 0.8301 GB, free: 7.555 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 (trimRespondLogic1.tim.u,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,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,booPul.pulseStart,reaToInt2.y,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$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,reaToInt1.y,trimRespondLogic.tim.u) * Number of discrete states: 4 (trimRespondLogic.tim.t_next,trimRespondLogic.uniDel.u,trimRespondLogic1.tim.t_next,trimRespondLogic1.uniDel.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0027/1.054, allocations: 1.558 MB / 0.8316 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001781/1.056, allocations: 0.5021 MB / 0.8321 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.056, allocations: 0 / 0.8321 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.057, allocations: 316.8 kB / 0.8324 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008011/1.058, allocations: 69.88 kB / 0.8324 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005472/1.063, allocations: 4.793 MB / 0.8371 GB, free: 148 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/1.064, allocations: 0.8967 MB / 0.838 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005187/1.065, allocations: 76.69 kB / 0.8381 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/1.065, allocations: 231.3 kB / 0.8383 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of SimCode: time 1.122e-06/1.065, allocations: 0 / 0.8383 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04474/1.11, allocations: 10.19 MB / 0.8482 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003545/1.11, allocations: 214.3 kB / 0.8484 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/4.042, allocations: 0 / 0.8484 GB, free: 4.688 MB / 0.6667 GB