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.009137/0.009141, allocations: 113.8 kB / 15.06 MB, free: 5.562 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.001138/0.001138, allocations: 182.9 kB / 15.95 MB, free: 5.523 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.037/2.037, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.447/2.447, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007684/0.0007687, allocations: 16 kB / 0.587 GB, free: 2.109 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5555, allocations: 98.7 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond): time 0.003013/0.5586, allocations: 2.47 MB / 0.6858 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.5603, allocations: 0.7324 MB / 0.6865 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003494/0.5607, allocations: 8.969 kB / 0.6865 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.5608, allocations: 44.16 kB / 0.6865 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.5611, allocations: 69.78 kB / 0.6866 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.5618, allocations: 189.1 kB / 0.6868 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.5623, allocations: 408.8 kB / 0.6872 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005297/0.5628, allocations: 284.8 kB / 0.6875 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.5632, allocations: 188.6 kB / 0.6876 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.5635, allocations: 235.1 kB / 0.6879 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.153e-05/0.5636, allocations: 25.75 kB / 0.6879 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.5637, allocations: 22.5 kB / 0.6879 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.5638, allocations: 103.4 kB / 0.688 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.5639, allocations: 133.2 kB / 0.6881 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009481/0.5649, allocations: 0.7429 MB / 0.6889 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.071e-06/0.5649, allocations: 4 kB / 0.6889 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.157e-06/0.5649, allocations: 0 / 0.6889 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.5649, allocations: 1.062 kB / 0.6889 GB, free: 13.41 MB / 0.5261 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.001786/0.5667, allocations: 0.8627 MB / 0.6897 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5668, allocations: 9.734 kB / 0.6897 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.567, allocations: 79.8 kB / 0.6898 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.5673, allocations: 288.2 kB / 0.6901 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.5674, allocations: 71.17 kB / 0.6901 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.5676, allocations: 70.02 kB / 0.6902 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.5693, allocations: 0.6481 MB / 0.6908 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.5693, allocations: 0 / 0.6908 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-05/0.5694, allocations: 29.2 kB / 0.6909 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.5695, allocations: 19.42 kB / 0.6909 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.571, allocations: 473.2 kB / 0.6913 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003825/0.5748, allocations: 1.7 MB / 0.693 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.5768, allocations: 0.6439 MB / 0.6936 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/0.5769, allocations: 17.78 kB / 0.6936 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.578, allocations: 416.9 kB / 0.694 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=67): time 4.206e-06/0.578, allocations: 0 / 0.694 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.002641/0.5806, allocations: 0.8547 MB / 0.6949 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.5807, allocations: 95.19 kB / 0.695 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007481/0.5815, allocations: 487.8 kB / 0.6954 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-05/0.5816, allocations: 42.88 kB / 0.6955 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.5818, allocations: 273.4 kB / 0.6957 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.582, allocations: 179.7 kB / 0.6959 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.5821, allocations: 14.66 kB / 0.6959 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5822, allocations: 368.6 kB / 0.6963 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/0.5828, allocations: 191.2 kB / 0.6964 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/0.5835, allocations: 348.2 kB / 0.6968 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.5842, allocations: 211 kB / 0.697 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.541e-06/0.5842, allocations: 1.375 kB / 0.697 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001683/0.5859, allocations: 0.6282 MB / 0.6976 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.5859, allocations: 7.219 kB / 0.6976 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.586, allocations: 7.578 kB / 0.6976 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.586, allocations: 9.969 kB / 0.6976 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.5866, allocations: 101.4 kB / 0.6977 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.751e-05/0.5867, allocations: 12.23 kB / 0.6977 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/0.5873, allocations: 88.45 kB / 0.6978 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/0.5873, allocations: 28.61 kB / 0.6978 GB, free: 8.27 MB / 0.5261 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.0004391/0.5878, allocations: 221.7 kB / 0.698 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.5879, allocations: 64.08 kB / 0.6981 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.5898, allocations: 0.6907 MB / 0.6988 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.5899, allocations: 7.75 kB / 0.6988 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.084e-06/0.5899, allocations: 0 / 0.6988 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.5899, allocations: 9.094 kB / 0.6988 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.5933, allocations: 1.577 MB / 0.7003 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.918e-06/0.5934, allocations: 1 kB / 0.7003 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.5938, allocations: 71.52 kB / 0.7004 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.5938, allocations: 2.938 kB / 0.7004 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.5939, allocations: 17.61 kB / 0.7004 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.5939, allocations: 7.812 kB / 0.7004 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.13e-06/0.5939, allocations: 3.938 kB / 0.7004 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.5958, allocations: 0.8575 MB / 0.7013 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.5959, allocations: 148.6 kB / 0.7014 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.596, allocations: 14.69 kB / 0.7014 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.5966, allocations: 52.92 kB / 0.7015 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.5968, allocations: 73.09 kB / 0.7016 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/0.5969, allocations: 26.98 kB / 0.7016 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004895/0.5974, allocations: 322.1 kB / 0.7019 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.76e-07/0.5974, allocations: 5.688 kB / 0.7019 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007917/0.5982, allocations: 136.9 kB / 0.702 GB, free: 5.512 MB / 0.5261 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.0001897/0.5984, allocations: 147.6 kB / 0.7022 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.6, allocations: 0.5198 MB / 0.7027 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.574e-06/0.6, allocations: 0 / 0.7027 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008942/0.6009, allocations: 339.7 kB / 0.703 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.6016, allocations: 61.94 kB / 0.7031 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.604, allocations: 1.212 MB / 0.7042 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.6045, allocations: 0.8946 MB / 0.7051 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004015/0.6049, allocations: 71.92 kB / 0.7052 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.6051, allocations: 52.95 kB / 0.7052 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of SimCode: time 1.713e-06/0.6051, allocations: 0 / 0.7052 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of Templates: time 0.0156/0.6207, allocations: 5.292 MB / 0.7104 GB, free: 0.7422 MB / 0.5261 GB