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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004183/0.004188, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.001114/0.001114, allocations: 174 kB / 16.7 MB, free: 5.449 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 4.017/4.017, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.014/4.014, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005577/0.0005581, allocations: 16.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1744, allocations: 98.72 MB / 1.105 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8013/0.9758, allocations: 127.6 MB / 1.229 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.9761, allocations: 77.92 kB / 1.229 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0374/1.013, allocations: 9.125 MB / 1.238 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/1.014, allocations: 0 / 1.238 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.927e-05/1.014, allocations: 12 kB / 1.238 GB, free: 20.7 MB / 0.6198 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.002357/1.016, allocations: 0.8975 MB / 1.239 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.016, allocations: 8.031 kB / 1.239 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/1.016, allocations: 77.03 kB / 1.239 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/1.017, allocations: 294.3 kB / 1.24 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-05/1.017, allocations: 52.44 kB / 1.24 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/1.017, allocations: 75.05 kB / 1.24 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/1.018, allocations: 0.6341 MB / 1.24 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/1.018, allocations: 0 / 1.24 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.961e-05/1.019, allocations: 29.92 kB / 1.24 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/1.019, allocations: 20.31 kB / 1.24 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/1.02, allocations: 472.8 kB / 1.241 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/1.024, allocations: 1.706 MB / 1.242 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/1.026, allocations: 0.6119 MB / 1.243 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006321/1.026, allocations: 217.7 kB / 1.243 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-05/1.026, allocations: 22.11 kB / 1.243 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/1.027, allocations: 406.5 kB / 1.244 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=67): time 3.456e-06/1.027, allocations: 0 / 1.244 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67): time 0.002559/1.03, allocations: 0.8243 MB / 1.244 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/1.03, allocations: 91.23 kB / 1.245 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007853/1.031, allocations: 481.3 kB / 1.245 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/1.031, allocations: 42.39 kB / 1.245 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/1.031, allocations: 279.4 kB / 1.245 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/1.031, allocations: 172.3 kB / 1.245 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/1.031, allocations: 15.5 kB / 1.245 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001936/1.032, allocations: 374.1 kB / 1.246 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/1.032, allocations: 172.8 kB / 1.246 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/1.033, allocations: 341.1 kB / 1.246 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/1.034, allocations: 203.1 kB / 1.247 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.034, allocations: 2.656 kB / 1.247 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001683/1.035, allocations: 0.601 MB / 1.247 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/1.035, allocations: 8.625 kB / 1.247 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.035, allocations: 4.938 kB / 1.247 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/1.035, allocations: 8 kB / 1.247 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/1.036, allocations: 110.2 kB / 1.247 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/1.036, allocations: 11.94 kB / 1.247 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006182/1.037, allocations: 73.28 kB / 1.247 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/1.037, allocations: 27.06 kB / 1.247 GB, free: 13.36 MB / 0.6198 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.0005384/1.038, allocations: 223.7 kB / 1.248 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.038, allocations: 67.19 kB / 1.248 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/1.04, allocations: 0.6628 MB / 1.248 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.04, allocations: 4 kB / 1.248 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.04, allocations: 0 / 1.248 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.04, allocations: 13.73 kB / 1.248 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/1.044, allocations: 1.538 MB / 1.25 GB, free: 27.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.044, allocations: 4 kB / 1.25 GB, free: 27.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/1.044, allocations: 73.48 kB / 1.25 GB, free: 27.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/1.044, allocations: 4 kB / 1.25 GB, free: 27.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/1.044, allocations: 17.67 kB / 1.25 GB, free: 27.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/1.044, allocations: 7 kB / 1.25 GB, free: 27.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.044, allocations: 4 kB / 1.25 GB, free: 27.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/1.046, allocations: 0.8159 MB / 1.251 GB, free: 26.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/1.046, allocations: 139.8 kB / 1.251 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/1.046, allocations: 14.98 kB / 1.251 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006513/1.047, allocations: 45.95 kB / 1.251 GB, free: 26.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/1.047, allocations: 66.91 kB / 1.251 GB, free: 26.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/1.047, allocations: 34.81 kB / 1.251 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005519/1.048, allocations: 322.6 kB / 1.251 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.5e-07/1.048, allocations: 4 kB / 1.251 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008092/1.049, allocations: 134.4 kB / 1.251 GB, free: 26.09 MB / 0.6355 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.0002425/1.049, allocations: 148.4 kB / 1.252 GB, free: 25.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001552/1.051, allocations: 0.5066 MB / 1.252 GB, free: 25.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.051, allocations: 4 kB / 1.252 GB, free: 25.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000859/1.052, allocations: 307.7 kB / 1.252 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009476/1.053, allocations: 76.84 kB / 1.252 GB, free: 25.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/1.055, allocations: 1.206 MB / 1.254 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/1.056, allocations: 0.9007 MB / 1.254 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000489/1.056, allocations: 63.94 kB / 1.255 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/1.057, allocations: 59.09 kB / 1.255 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/1.057, allocations: 0 / 1.255 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.01711/1.074, allocations: 5.304 MB / 1.26 GB, free: 18.22 MB / 0.6355 GB