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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.047/4.047, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.148e-05, allocations: 3.125 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2141, allocations: 98.73 MB / 0.6347 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2442/0.4584, allocations: 127.5 MB / 0.7593 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.4587, allocations: 79.92 kB / 0.7594 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03946/0.4982, allocations: 9.101 MB / 0.7682 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4983, allocations: 0 / 0.7682 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.554e-05/0.4983, allocations: 12 kB / 0.7683 GB, free: 8.961 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.002322/0.5006, allocations: 0.8451 MB / 0.7691 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.5007, allocations: 11.97 kB / 0.7691 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002093/0.5009, allocations: 110.5 kB / 0.7692 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.5011, allocations: 83.02 kB / 0.7693 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.5015, allocations: 275.6 kB / 0.7695 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.843e-05/0.5016, allocations: 49.31 kB / 0.7696 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.5018, allocations: 75.98 kB / 0.7697 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.5034, allocations: 0.6087 MB / 0.7703 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.5035, allocations: 0 / 0.7703 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.772e-05/0.5036, allocations: 28 kB / 0.7703 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.5036, allocations: 12 kB / 0.7703 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.5049, allocations: 430.1 kB / 0.7707 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004758/0.5097, allocations: 1.724 MB / 0.7724 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.5121, allocations: 0.5812 MB / 0.773 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/0.5128, allocations: 206.2 kB / 0.7732 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.198e-05/0.5129, allocations: 16.67 kB / 0.7732 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.5139, allocations: 376.8 kB / 0.7735 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 3.937e-06/0.514, allocations: 0 / 0.7735 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.002337/0.5163, allocations: 0.5904 MB / 0.7741 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.5165, allocations: 101.1 kB / 0.7742 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.5178, allocations: 423.7 kB / 0.7746 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.518, allocations: 45.7 kB / 0.7746 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.5185, allocations: 265.2 kB / 0.7749 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.5189, allocations: 181.5 kB / 0.7751 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.775e-05/0.519, allocations: 16 kB / 0.7751 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000302/0.5193, allocations: 370.7 kB / 0.7754 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008111/0.5202, allocations: 157.5 kB / 0.7756 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009783/0.5212, allocations: 314.6 kB / 0.7759 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009152/0.5221, allocations: 186.7 kB / 0.7761 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.5222, allocations: 4 kB / 0.7761 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002572/0.5248, allocations: 0.56 MB / 0.7766 GB, free: 56 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.5249, allocations: 4 kB / 0.7766 GB, free: 52 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.5249, allocations: 8.594 kB / 0.7766 GB, free: 44 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.183e-05/0.525, allocations: 11.98 kB / 0.7766 GB, free: 32 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.6271/1.152, allocations: 104.7 kB / 0.7767 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.111e-05/1.152, allocations: 11.39 kB / 0.7768 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000725/1.153, allocations: 69.86 kB / 0.7768 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/1.153, allocations: 28.36 kB / 0.7768 GB, free: 136.5 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.0002524/1.153, allocations: 169.4 kB / 0.777 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/1.153, allocations: 64.77 kB / 0.7771 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/1.155, allocations: 0.6198 MB / 0.7777 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/1.155, allocations: 7.562 kB / 0.7777 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.155, allocations: 2.594 kB / 0.7777 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.155, allocations: 7.984 kB / 0.7777 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/1.159, allocations: 1.496 MB / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.159, allocations: 4.562 kB / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/1.159, allocations: 72.31 kB / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/1.159, allocations: 3.438 kB / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/1.159, allocations: 16.42 kB / 0.7792 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/1.159, allocations: 3.375 kB / 0.7793 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.159, allocations: 1.922 kB / 0.7793 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/1.161, allocations: 0.799 MB / 0.78 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/1.161, allocations: 137.9 kB / 0.7802 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.161, allocations: 22.48 kB / 0.7802 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/1.162, allocations: 43.47 kB / 0.7802 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/1.162, allocations: 68.97 kB / 0.7803 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-05/1.162, allocations: 33.58 kB / 0.7803 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005114/1.163, allocations: 320 kB / 0.7806 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.163, allocations: 0 / 0.7806 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007809/1.164, allocations: 143.2 kB / 0.7808 GB, free: 135.5 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.002259/1.166, allocations: 1.524 MB / 0.7823 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001351/1.167, allocations: 485.9 kB / 0.7827 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/1.167, allocations: 1.312 kB / 0.7827 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007664/1.168, allocations: 301.2 kB / 0.783 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/1.169, allocations: 63.59 kB / 0.7831 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/1.172, allocations: 0.8673 MB / 0.7839 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/1.172, allocations: 0.8962 MB / 0.7848 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004434/1.173, allocations: 75.16 kB / 0.7849 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/1.173, allocations: 229.6 kB / 0.7851 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.173, allocations: 0 / 0.7851 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04178/1.215, allocations: 10.39 MB / 0.7952 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/1.215, allocations: 196.9 kB / 0.7954 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.004/4.22, allocations: 1.25 kB / 0.7954 GB, free: 132.6 MB / 0.6511 GB