Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.616/2.616, allocations: 287.3 MB / 302.3 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001563, allocations: 181.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.4 MB / 0.6295 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 86.92 kB / 0.7428 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004933, allocations: 17.03 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2279, allocations: 115.3 MB / 0.9783 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9263/1.154, allocations: 141.2 MB / 1.116 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.154, allocations: 70.78 kB / 1.116 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09108/1.246, allocations: 20.57 MB / 1.136 GB, free: 27.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.527e-06/1.246, allocations: 0 / 1.136 GB, free: 27.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.355e-05/1.246, allocations: 30.47 kB / 1.136 GB, free: 27.07 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.004644/1.25, allocations: 1.526 MB / 1.138 GB, free: 25.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.25, allocations: 11.16 kB / 1.138 GB, free: 25.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000542/1.251, allocations: 185.5 kB / 1.138 GB, free: 25.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004366/1.251, allocations: 169.7 kB / 1.138 GB, free: 25.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/1.253, allocations: 0.6882 MB / 1.139 GB, free: 25.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/1.253, allocations: 111.2 kB / 1.139 GB, free: 25.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/1.254, allocations: 141.1 kB / 1.139 GB, free: 25.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/1.257, allocations: 1.181 MB / 1.14 GB, free: 25.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/1.257, allocations: 0 / 1.14 GB, free: 25.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/1.257, allocations: 52.97 kB / 1.14 GB, free: 25.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/1.257, allocations: 29.78 kB / 1.14 GB, free: 25.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/1.26, allocations: 0.8616 MB / 1.141 GB, free: 24.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/1.274, allocations: 3.287 MB / 1.144 GB, free: 23.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004753/1.279, allocations: 0.8746 MB / 1.145 GB, free: 23.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/1.279, allocations: 27.09 kB / 1.145 GB, free: 23.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001606/1.28, allocations: 0.6032 MB / 1.146 GB, free: 23.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 4.138e-06/1.281, allocations: 3.844 kB / 1.146 GB, free: 23.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=105): time 0.006834/1.287, allocations: 1.282 MB / 1.147 GB, free: 22.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002616/1.288, allocations: 258.5 kB / 1.147 GB, free: 22.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00379/1.291, allocations: 0.8406 MB / 1.148 GB, free: 22.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000512/1.292, allocations: 55.7 kB / 1.148 GB, free: 22.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.294, allocations: 0.529 MB / 1.149 GB, free: 21.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006199/1.294, allocations: 280.6 kB / 1.149 GB, free: 21.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/1.295, allocations: 21.81 kB / 1.149 GB, free: 21.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002769/1.295, allocations: 349.6 kB / 1.149 GB, free: 21.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/1.297, allocations: 317.3 kB / 1.15 GB, free: 21.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/1.3, allocations: 0.57 MB / 1.15 GB, free: 21.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/1.302, allocations: 389.4 kB / 1.151 GB, free: 20.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.274e-05/1.302, allocations: 3.844 kB / 1.151 GB, free: 20.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.005835/1.308, allocations: 1.094 MB / 1.152 GB, free: 20.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/1.308, allocations: 37.14 kB / 1.152 GB, free: 20.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.308, allocations: 11.72 kB / 1.152 GB, free: 20.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/1.308, allocations: 11.56 kB / 1.152 GB, free: 20.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.31, allocations: 177.4 kB / 1.152 GB, free: 20.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/1.31, allocations: 23.44 kB / 1.152 GB, free: 20.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.311, allocations: 204.2 kB / 1.152 GB, free: 20.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/1.311, allocations: 57.27 kB / 1.152 GB, free: 20.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 72 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$whenCondition13,$PRE.trimRespondLogic1.tim.t_next,$whenCondition8,$PRE.trimRespondLogic.tim.t_next,$whenCondition11,trimRespondLogic.uniDel.sampleTrigger,$whenCondition12,trimRespondLogic.sampler.sampleTrigger,$whenCondition16,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition17,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$whenCondition6,$whenCondition7,$whenCondition1,$PRE.trimRespondLogic2.tim.t_next,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.t_next,trimRespondLogic.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic1.greThr2.y,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,reaToInt1.y,trimRespondLogic1.greThr1.y,trimRespondLogic.greThr1.y,trimRespondLogic2.lesThr1.y,trimRespondLogic2.greThr2.y,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.u,trimRespondLogic2.tim.y,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,$PRE.trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,$PRE.booPul.y,booPul.y,reaToInt2.y,trimRespondLogic2.greThr1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 1 * 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.000858/1.312, allocations: 324.6 kB / 1.153 GB, free: 20.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/1.313, allocations: 120.6 kB / 1.153 GB, free: 20.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/1.315, allocations: 0.9671 MB / 1.154 GB, free: 20.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.941e-05/1.315, allocations: 11.56 kB / 1.154 GB, free: 20.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.315, allocations: 7.906 kB / 1.154 GB, free: 20.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/1.315, allocations: 11.92 kB / 1.154 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006775/1.322, allocations: 2.893 MB / 1.156 GB, free: 18.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.322, allocations: 7.859 kB / 1.156 GB, free: 18.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/1.323, allocations: 108.1 kB / 1.157 GB, free: 18.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/1.323, allocations: 7.594 kB / 1.157 GB, free: 18.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/1.323, allocations: 28.52 kB / 1.157 GB, free: 18.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231e-05/1.323, allocations: 7.625 kB / 1.157 GB, free: 18.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.323, allocations: 7.938 kB / 1.157 GB, free: 18.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/1.326, allocations: 1.309 MB / 1.158 GB, free: 18.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/1.326, allocations: 203.8 kB / 1.158 GB, free: 17.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/1.326, allocations: 29.91 kB / 1.158 GB, free: 17.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/1.327, allocations: 84.16 kB / 1.158 GB, free: 17.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/1.328, allocations: 96.02 kB / 1.158 GB, free: 17.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.38e-05/1.328, allocations: 49.45 kB / 1.158 GB, free: 17.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001097/1.329, allocations: 0.6071 MB / 1.159 GB, free: 17.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.329, allocations: 3.844 kB / 1.159 GB, free: 17.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001204/1.33, allocations: 257.9 kB / 1.159 GB, free: 17.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 56 (trimRespondLogic2.tim.u,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.y,reaToInt2.y,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition17,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition10,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u,trimRespondLogic1.tim.u,trimRespondLogic2.lesThr1.y,trimRespondLogic2.greThr2.y,trimRespondLogic.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic1.greThr2.y) * Number of discrete states: 6 (trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,trimRespondLogic1.uniDel.u,trimRespondLogic.uniDel.u,trimRespondLogic2.tim.t_next,trimRespondLogic2.uniDel.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.003679/1.334, allocations: 2.534 MB / 1.162 GB, free: 15.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002732/1.337, allocations: 0.919 MB / 1.163 GB, free: 14.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/1.337, allocations: 1.875 kB / 1.163 GB, free: 14.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/1.338, allocations: 0.5205 MB / 1.163 GB, free: 14.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/1.34, allocations: 129.4 kB / 1.163 GB, free: 14.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.352, allocations: 8.115 MB / 1.171 GB, free: 6.121 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002139/1.354, allocations: 1.118 MB / 1.172 GB, free: 4.977 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001698/1.356, allocations: 128.3 kB / 1.172 GB, free: 4.848 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/1.358, allocations: 484.1 kB / 1.173 GB, free: 4.723 MB / 0.698 GB Notification: Performance of SimCode: time 3.116e-06/1.358, allocations: 0 / 1.173 GB, free: 4.723 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07205/1.43, allocations: 19.15 MB / 1.191 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/1.43, allocations: 211.4 kB / 1.192 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.417/4.847, allocations: 8 kB / 1.192 GB, free: 1.637 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.pipe 2>&1)