Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.85/3.85, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.546e-05, allocations: 4 kB / 0.5325 GB, free: 1.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4948, allocations: 98.72 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.6848, allocations: 126.9 MB / 0.7528 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.6851, allocations: 79.89 kB / 0.7529 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03503/0.7201, allocations: 9.028 MB / 0.7617 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.551e-06/0.7202, allocations: 0 / 0.7617 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.479e-05/0.7202, allocations: 12 kB / 0.7617 GB, free: 7.578 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.001784/0.722, allocations: 0.8313 MB / 0.7626 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.7221, allocations: 16.02 kB / 0.7626 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.7223, allocations: 91 kB / 0.7627 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.7226, allocations: 279.5 kB / 0.7629 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.471e-05/0.7227, allocations: 27.98 kB / 0.7629 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.7228, allocations: 47.98 kB / 0.763 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001085/0.7239, allocations: 382.5 kB / 0.7634 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.7252, allocations: 0.5241 MB / 0.7639 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.7253, allocations: 0 / 0.7639 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.324e-05/0.7253, allocations: 0 / 0.7639 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.7254, allocations: 19.95 kB / 0.7639 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/0.7289, allocations: 1.562 MB / 0.7654 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.7302, allocations: 0.5332 MB / 0.7659 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004368/0.7307, allocations: 186.2 kB / 0.7661 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.7307, allocations: 16.67 kB / 0.7661 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007972/0.7315, allocations: 355.7 kB / 0.7665 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=67): time 3.658e-06/0.7316, allocations: 4 kB / 0.7665 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=67): time 0.001395/0.733, allocations: 0.528 MB / 0.767 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.7331, allocations: 97.08 kB / 0.7671 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.7335, allocations: 290.1 kB / 0.7674 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.7336, allocations: 37.69 kB / 0.7674 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.7339, allocations: 276.5 kB / 0.7677 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.7341, allocations: 165.6 kB / 0.7678 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.7341, allocations: 0 / 0.7678 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.7344, allocations: 358.8 kB / 0.7682 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.7348, allocations: 145.5 kB / 0.7683 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.7353, allocations: 293.8 kB / 0.7686 GB, free: 264 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.7357, allocations: 168 kB / 0.7687 GB, free: 100 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.038e-06/0.7358, allocations: 4 kB / 0.7687 GB, free: 96 kB / 0.6355 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001244/0.737, allocations: 0.4989 MB / 0.7692 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.7371, allocations: 8.938 kB / 0.7692 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.7371, allocations: 4 kB / 0.7692 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.7371, allocations: 12.58 kB / 0.7693 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.7377, allocations: 107.8 kB / 0.7694 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.7377, allocations: 11.94 kB / 0.7694 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.7381, allocations: 43.58 kB / 0.7694 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/0.7382, allocations: 27.98 kB / 0.7694 GB, free: 15.38 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 () * 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.000229/0.7385, allocations: 157.9 kB / 0.7696 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.7386, allocations: 51.39 kB / 0.7696 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.7401, allocations: 0.5524 MB / 0.7702 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.7401, allocations: 8 kB / 0.7702 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.618e-06/0.7401, allocations: 0 / 0.7702 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.7402, allocations: 3.984 kB / 0.7702 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.743, allocations: 1.366 MB / 0.7715 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.743, allocations: 7.938 kB / 0.7715 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.7435, allocations: 63.89 kB / 0.7716 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.7435, allocations: 4 kB / 0.7716 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.67e-05/0.7436, allocations: 12.02 kB / 0.7716 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.091e-06/0.7436, allocations: 8 kB / 0.7716 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.103e-06/0.7436, allocations: 0 / 0.7716 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.745, allocations: 0.7429 MB / 0.7723 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.7452, allocations: 128.4 kB / 0.7725 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.3e-05/0.7453, allocations: 11.98 kB / 0.7725 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.7458, allocations: 31.97 kB / 0.7725 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.746, allocations: 71.86 kB / 0.7726 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.7461, allocations: 27.97 kB / 0.7726 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002998/0.7464, allocations: 212.6 kB / 0.7728 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.45e-07/0.7464, allocations: 0 / 0.7728 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007465/0.7472, allocations: 123.5 kB / 0.7729 GB, free: 11.7 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) * 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/0.7474, allocations: 136.3 kB / 0.773 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.7485, allocations: 436.8 kB / 0.7735 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.7485, allocations: 8.062 kB / 0.7735 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006495/0.7492, allocations: 279.8 kB / 0.7737 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.7497, allocations: 41.12 kB / 0.7738 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.7516, allocations: 0.7351 MB / 0.7745 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/0.7523, allocations: 0.8999 MB / 0.7754 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003432/0.7527, allocations: 60.25 kB / 0.7754 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.7529, allocations: 47.41 kB / 0.7755 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of SimCode: time 1.43e-06/0.7529, allocations: 4 kB / 0.7755 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of Templates: time 0.01414/0.7671, allocations: 4.462 MB / 0.7798 GB, free: 4.566 MB / 0.6511 GB