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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.847/3.847, allocations: 432.7 MB / 445.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.63e-05, allocations: 3.062 kB / 0.5383 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1714, allocations: 98.73 MB / 0.6348 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.3643, allocations: 127.5 MB / 0.7593 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.3646, allocations: 71.95 kB / 0.7594 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03621/0.4008, allocations: 9.109 MB / 0.7683 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.995e-06/0.4009, allocations: 3.984 kB / 0.7683 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.4009, allocations: 12 kB / 0.7683 GB, free: 8.945 MB / 0.6511 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.001842/0.4027, allocations: 0.8352 MB / 0.7691 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4028, allocations: 15.97 kB / 0.7691 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.403, allocations: 83.02 kB / 0.7692 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.4034, allocations: 275.5 kB / 0.7694 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.402e-05/0.4035, allocations: 57.31 kB / 0.7695 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.4036, allocations: 75.97 kB / 0.7696 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.4051, allocations: 0.6086 MB / 0.7702 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.4051, allocations: 0 / 0.7702 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.4052, allocations: 28 kB / 0.7702 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.4053, allocations: 20 kB / 0.7702 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.4064, allocations: 422.2 kB / 0.7706 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.4103, allocations: 1.717 MB / 0.7723 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.4118, allocations: 0.5747 MB / 0.7729 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.4123, allocations: 206.2 kB / 0.7731 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.879e-05/0.4124, allocations: 20.67 kB / 0.7731 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008507/0.4133, allocations: 376.5 kB / 0.7734 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 3.706e-06/0.4133, allocations: 0 / 0.7734 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.001553/0.4148, allocations: 0.5826 MB / 0.774 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.4149, allocations: 97.08 kB / 0.7741 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.4157, allocations: 427.7 kB / 0.7745 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.395e-05/0.4158, allocations: 49.58 kB / 0.7745 GB, free: 2.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.4161, allocations: 269.2 kB / 0.7748 GB, free: 2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.4163, allocations: 185.4 kB / 0.775 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.4163, allocations: 12 kB / 0.775 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000229/0.4166, allocations: 374.8 kB / 0.7754 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.417, allocations: 157.5 kB / 0.7755 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.4176, allocations: 306.6 kB / 0.7758 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.4181, allocations: 192 kB / 0.776 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.428e-06/0.4181, allocations: 0 / 0.776 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001382/0.4195, allocations: 0.5623 MB / 0.7765 GB, free: 164 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4196, allocations: 8 kB / 0.7765 GB, free: 156 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4196, allocations: 4 kB / 0.7765 GB, free: 152 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.4196, allocations: 8 kB / 0.7765 GB, free: 144 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.4203, allocations: 107.8 kB / 0.7766 GB, free: 36 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.4203, allocations: 11.98 kB / 0.7767 GB, free: 24 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4267/0.847, allocations: 67.64 kB / 0.7767 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.8472, allocations: 29.45 kB / 0.7768 GB, free: 136.3 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.0002324/0.8474, allocations: 172.9 kB / 0.7769 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.8476, allocations: 63.83 kB / 0.777 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.8492, allocations: 0.6204 MB / 0.7776 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.8492, allocations: 8.062 kB / 0.7776 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.38e-06/0.8492, allocations: 1.156 kB / 0.7776 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.8493, allocations: 5.953 kB / 0.7776 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.8522, allocations: 1.5 MB / 0.7791 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.304e-06/0.8523, allocations: 4.312 kB / 0.7791 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/0.8527, allocations: 70.44 kB / 0.7791 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.8528, allocations: 6.484 kB / 0.7791 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.316e-05/0.8528, allocations: 19.67 kB / 0.7792 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/0.8528, allocations: 3.344 kB / 0.7792 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8529, allocations: 3.031 kB / 0.7792 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.8543, allocations: 0.7953 MB / 0.7799 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.8545, allocations: 139.2 kB / 0.7801 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.8546, allocations: 20.91 kB / 0.7801 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.8551, allocations: 43.7 kB / 0.7801 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.8554, allocations: 68.86 kB / 0.7802 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.8554, allocations: 24.2 kB / 0.7802 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004884/0.8559, allocations: 324.9 kB / 0.7805 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.801e-06/0.856, allocations: 0 / 0.7805 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007708/0.8567, allocations: 144 kB / 0.7807 GB, free: 135.3 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.000211/0.857, allocations: 144.5 kB / 0.7808 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.8583, allocations: 485.9 kB / 0.7813 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.073e-06/0.8584, allocations: 0.5 kB / 0.7813 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.8591, allocations: 295.6 kB / 0.7816 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.8598, allocations: 62.91 kB / 0.7816 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.8618, allocations: 0.7664 MB / 0.7824 GB, free: 135 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.8623, allocations: 0.8966 MB / 0.7832 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004041/0.8627, allocations: 73.38 kB / 0.7833 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.8629, allocations: 57.08 kB / 0.7834 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.69e-06/0.863, allocations: 0 / 0.7834 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.01703/0.88, allocations: 5.293 MB / 0.7885 GB, free: 134 MB / 0.6511 GB