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.01067/0.01067, allocations: 222.3 kB / 15.17 MB, free: 5.938 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.001119/0.001118, allocations: 176.1 kB / 16.06 MB, free: 5.836 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 3.618/3.618, allocations: 389.1 MB / 405.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.58/4.58, allocations: 472.3 MB / 0.9018 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005164, allocations: 12 kB / 1.008 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.592/0.5926, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond): time 0.002957/0.5956, allocations: 2.488 MB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.597, allocations: 0.7229 MB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.5973, allocations: 9.062 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.419e-05/0.5974, allocations: 48.94 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.5976, allocations: 57.22 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.5982, allocations: 187.1 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.5989, allocations: 0.6378 MB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004688/0.5993, allocations: 287.3 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.5996, allocations: 186.2 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.5999, allocations: 238.8 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/0.6, allocations: 22.16 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.076e-05/0.6001, allocations: 22.81 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.6002, allocations: 115.6 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.6004, allocations: 128.8 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007775/0.6012, allocations: 0.741 MB / 1.11 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.504e-06/0.6012, allocations: 4.312 kB / 1.11 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6012, allocations: 0 / 1.11 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.6012, allocations: 0 / 1.11 GB, free: 209.6 MB / 0.7292 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.001701/0.6029, allocations: 0.8606 MB / 1.111 GB, free: 209 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.603, allocations: 9.031 kB / 1.111 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.6032, allocations: 83.16 kB / 1.111 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.6035, allocations: 291.6 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.6036, allocations: 68.72 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.6038, allocations: 69.45 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.6053, allocations: 0.6494 MB / 1.112 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.6053, allocations: 1 kB / 1.112 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/0.6054, allocations: 26 kB / 1.112 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.6055, allocations: 20 kB / 1.112 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.6068, allocations: 477.3 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003504/0.6103, allocations: 1.701 MB / 1.114 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.6122, allocations: 0.6436 MB / 1.115 GB, free: 207 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006961/0.613, allocations: 232.5 kB / 1.115 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.15e-05/0.613, allocations: 18 kB / 1.115 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.6141, allocations: 412.9 kB / 1.115 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=67): time 5.165e-06/0.6142, allocations: 0 / 1.115 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=67): time 0.002497/0.6167, allocations: 0.8605 MB / 1.116 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.6167, allocations: 99.64 kB / 1.116 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.6175, allocations: 482.2 kB / 1.117 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.29e-05/0.6175, allocations: 43.62 kB / 1.117 GB, free: 206 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.6178, allocations: 273 kB / 1.117 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.6179, allocations: 175.7 kB / 1.117 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.618, allocations: 17.47 kB / 1.117 GB, free: 205.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6181, allocations: 371.6 kB / 1.117 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/0.6187, allocations: 185.4 kB / 1.118 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.6194, allocations: 346.2 kB / 1.118 GB, free: 205 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/0.6201, allocations: 216.8 kB / 1.118 GB, free: 205 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.6201, allocations: 2.375 kB / 1.118 GB, free: 205 MB / 0.7292 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00169/0.6218, allocations: 0.6277 MB / 1.119 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.6218, allocations: 7.219 kB / 1.119 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.6218, allocations: 5.344 kB / 1.119 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.6219, allocations: 14.89 kB / 1.119 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.6225, allocations: 101 kB / 1.119 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.6225, allocations: 13.67 kB / 1.119 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.623, allocations: 91.02 kB / 1.119 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.6231, allocations: 26.97 kB / 1.119 GB, free: 204.6 MB / 0.7292 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.0004173/0.6235, allocations: 224.4 kB / 1.119 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.6237, allocations: 65.53 kB / 1.119 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.6256, allocations: 0.6834 MB / 1.12 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.6256, allocations: 7.312 kB / 1.12 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.489e-06/0.6256, allocations: 1.125 kB / 1.12 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.6256, allocations: 3.469 kB / 1.12 GB, free: 204.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.6291, allocations: 1.582 MB / 1.121 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.067e-06/0.6292, allocations: 0 / 1.121 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.6296, allocations: 81.14 kB / 1.122 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.6297, allocations: 3.156 kB / 1.122 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.6297, allocations: 17.98 kB / 1.122 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.6298, allocations: 8.141 kB / 1.122 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.849e-06/0.6298, allocations: 0 / 1.122 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.6316, allocations: 0.8365 MB / 1.122 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.6317, allocations: 141.2 kB / 1.123 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.6318, allocations: 20.36 kB / 1.123 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005526/0.6324, allocations: 54.55 kB / 1.123 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.6326, allocations: 68.81 kB / 1.123 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.6327, allocations: 26.39 kB / 1.123 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006295/0.6334, allocations: 322.3 kB / 1.123 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.39e-07/0.6334, allocations: 3.438 kB / 1.123 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008127/0.6342, allocations: 140.4 kB / 1.123 GB, free: 202.5 MB / 0.7292 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.0001944/0.6344, allocations: 150.2 kB / 1.123 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.636, allocations: 0.5181 MB / 1.124 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6361, allocations: 1.5 kB / 1.124 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.637, allocations: 339 kB / 1.124 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.6379, allocations: 67.59 kB / 1.124 GB, free: 202.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.6404, allocations: 1.209 MB / 1.125 GB, free: 201.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.641, allocations: 0.8951 MB / 1.126 GB, free: 200.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000423/0.6414, allocations: 75.16 kB / 1.126 GB, free: 200.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.6416, allocations: 57.25 kB / 1.126 GB, free: 200.6 MB / 0.7292 GB Notification: Performance of SimCode: time 1.773e-06/0.6416, allocations: 0 / 1.126 GB, free: 200.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.02145/0.6631, allocations: 5.299 MB / 1.132 GB, free: 200.6 MB / 0.7292 GB