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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.268/4.268, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.879e-05, allocations: 2.875 kB / 0.5325 GB, free: 12.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2183, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/0.4661, allocations: 126.9 MB / 0.7528 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4664, allocations: 71.95 kB / 0.7529 GB, free: 10 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03952/0.506, allocations: 9.035 MB / 0.7617 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.425e-06/0.506, allocations: 0 / 0.7617 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.19e-05/0.5061, allocations: 12 kB / 0.7617 GB, free: 0.9453 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.002401/0.5085, allocations: 0.8446 MB / 0.7625 GB, free: 48 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.5086, allocations: 12.03 kB / 0.7626 GB, free: 36 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.5089, allocations: 87 kB / 0.7626 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.5093, allocations: 279.5 kB / 0.7629 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/0.5094, allocations: 27.98 kB / 0.7629 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.5096, allocations: 47.98 kB / 0.763 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00121/0.5108, allocations: 382.6 kB / 0.7633 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.5122, allocations: 0.5163 MB / 0.7638 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.5122, allocations: 7.984 kB / 0.7639 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.179e-05/0.5123, allocations: 7.953 kB / 0.7639 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.5124, allocations: 12 kB / 0.7639 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.5167, allocations: 1.562 MB / 0.7654 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.5183, allocations: 0.5354 MB / 0.7659 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/0.5189, allocations: 182.2 kB / 0.7661 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.121e-05/0.5189, allocations: 20.67 kB / 0.7661 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009148/0.5199, allocations: 347.2 kB / 0.7664 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 3.387e-06/0.5199, allocations: 0 / 0.7664 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.001639/0.5215, allocations: 0.5318 MB / 0.767 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.5217, allocations: 101.1 kB / 0.7671 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.5222, allocations: 290.1 kB / 0.7673 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/0.5223, allocations: 37.69 kB / 0.7674 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.5226, allocations: 272.5 kB / 0.7676 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.5228, allocations: 169.6 kB / 0.7678 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.5229, allocations: 0 / 0.7678 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.5231, allocations: 358.8 kB / 0.7681 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.5235, allocations: 141.5 kB / 0.7683 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.5241, allocations: 297 kB / 0.7686 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/0.5247, allocations: 174.8 kB / 0.7687 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.5247, allocations: 11.95 kB / 0.7687 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001445/0.5262, allocations: 494.1 kB / 0.7692 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.5262, allocations: 8 kB / 0.7692 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.5262, allocations: 8.031 kB / 0.7692 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.718e-05/0.5263, allocations: 12 kB / 0.7692 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008381/0.5271, allocations: 107.8 kB / 0.7693 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.5272, allocations: 11.98 kB / 0.7693 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.5277, allocations: 43.58 kB / 0.7694 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.5278, allocations: 31.98 kB / 0.7694 GB, free: 8.746 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.0002935/0.5281, allocations: 154 kB / 0.7696 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001593/0.5297, allocations: 0.5357 MB / 0.7701 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.5299, allocations: 51.42 kB / 0.7701 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.5316, allocations: 0.5651 MB / 0.7707 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5316, allocations: 7.938 kB / 0.7707 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.5316, allocations: 8 kB / 0.7707 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.5317, allocations: 3.984 kB / 0.7707 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.535, allocations: 1.346 MB / 0.772 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5351, allocations: 0 / 0.772 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/0.5357, allocations: 75.92 kB / 0.7721 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.5357, allocations: 0 / 0.7721 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.5358, allocations: 15.98 kB / 0.7721 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5358, allocations: 0 / 0.7721 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5358, allocations: 7.984 kB / 0.7721 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.5375, allocations: 0.7431 MB / 0.7728 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.5377, allocations: 124.4 kB / 0.773 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.5378, allocations: 15.94 kB / 0.773 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/0.5385, allocations: 39.95 kB / 0.773 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.5387, allocations: 63.91 kB / 0.7731 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/0.5388, allocations: 27.98 kB / 0.7731 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003318/0.5391, allocations: 208.6 kB / 0.7733 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5392, allocations: 0 / 0.7733 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008316/0.54, allocations: 123.5 kB / 0.7734 GB, free: 4.523 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.002105/0.5421, allocations: 1.454 MB / 0.7748 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.5434, allocations: 444.1 kB / 0.7753 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.5435, allocations: 4 kB / 0.7753 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007574/0.5442, allocations: 276.9 kB / 0.7755 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.5449, allocations: 37.19 kB / 0.7756 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.5479, allocations: 0.8232 MB / 0.7764 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.5486, allocations: 0.8922 MB / 0.7772 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004743/0.5491, allocations: 64.23 kB / 0.7773 GB, free: 444 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/0.5496, allocations: 223.3 kB / 0.7775 GB, free: 220 kB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.5496, allocations: 0 / 0.7775 GB, free: 220 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5905/1.14, allocations: 8.63 MB / 0.7859 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/1.14, allocations: 181.9 kB / 0.7861 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/3.872, allocations: 1.5 kB / 0.7861 GB, free: 139.6 MB / 0.6511 GB