Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 387.4 MB / 394.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 188.7 kB / 487.4 MB, free: 4.992 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000758/0.0007579, allocations: 86.27 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.209e-05, allocations: 9.953 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.246, allocations: 142.4 MB / 1.206 GB, free: 43.77 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8444/1.09, allocations: 151.5 MB / 1.354 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/1.091, allocations: 75.97 kB / 1.354 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02425/1.115, allocations: 9.402 MB / 1.363 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/1.115, allocations: 3.938 kB / 1.363 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.025e-05/1.115, allocations: 11.53 kB / 1.363 GB, free: 33.26 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001591/1.117, allocations: 0.9101 MB / 1.364 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.117, allocations: 7.688 kB / 1.364 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/1.117, allocations: 81.59 kB / 1.364 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008754/1.118, allocations: 0.522 MB / 1.365 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/1.118, allocations: 22.53 kB / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/1.118, allocations: 52.73 kB / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005182/1.118, allocations: 301 kB / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000634/1.119, allocations: 400.3 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.119, allocations: 0 / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/1.119, allocations: 2.953 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/1.119, allocations: 11.41 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/1.121, allocations: 1.44 MB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/1.122, allocations: 415 kB / 1.367 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/1.122, allocations: 165.3 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/1.122, allocations: 7.875 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004973/1.123, allocations: 339.4 kB / 1.368 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=54): time 3.647e-06/1.123, allocations: 0 / 1.368 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.0007734/1.124, allocations: 0.5168 MB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/1.124, allocations: 63.5 kB / 1.368 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/1.124, allocations: 322.2 kB / 1.369 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/1.124, allocations: 39.48 kB / 1.369 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/1.124, allocations: 263.1 kB / 1.369 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.799e-05/1.124, allocations: 116.1 kB / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/1.124, allocations: 0 / 1.369 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.124, allocations: 358.9 kB / 1.37 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/1.125, allocations: 180.8 kB / 1.37 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/1.125, allocations: 334.6 kB / 1.37 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/1.125, allocations: 188 kB / 1.37 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.125, allocations: 7.75 kB / 1.37 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009065/1.126, allocations: 0.5476 MB / 1.371 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/1.126, allocations: 68.95 kB / 1.371 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.126, allocations: 3.844 kB / 1.371 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.126, allocations: 11.55 kB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/1.127, allocations: 91.02 kB / 1.371 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/1.127, allocations: 14.56 kB / 1.371 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006949/1.128, allocations: 163.8 kB / 1.371 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/1.128, allocations: 30 kB / 1.371 GB, free: 30.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel2.u,$PRE.ala.truDel3.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$PRE.ala.truDel3.t_next,$whenCondition7,$PRE.ala.truDel2.t_next,$whenCondition4,$PRE.ala.truDel1.t_next,$whenCondition1,$PRE.ala.truDel.t_next,ala.truDel3.t_next,ala.truDel2.t_next,ala.truDel1.t_next,ala.truDel.t_next,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,$PRE.ala.les.lesHys.y,ala.les.lesHys.y,ala.truDel.u,ala.truDel.y,$PRE.ala.greThr.greHys.y,ala.greThr.greHys.y,$PRE.ala.gre.greHys.y,ala.gre.greHys.y,ala.truDel1.u,ala.truDel1.y,ala.and2.y,ala.and1.y,ala.lowFloAla.y,ala.booToInt.y,ala.booToInt1.y,ala.and3.y,ala.assMes1.u,ala.truDel2.u,ala.truDel2.y,$PRE.ala.gre1.greHys.y,ala.gre1.greHys.y,ala.assMes2.u,ala.truDel3.u,ala.truDel3.y,$PRE.ala.cloDam.lesHys.y,ala.cloDam.lesHys.y,ala.booToInt3.u,$PRE.supFan.y,supFan.y,$PRE.damSta.y,damSta.y,ala.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * 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.0001734/1.128, allocations: 162.2 kB / 1.371 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000621/1.128, allocations: 0.4948 MB / 1.372 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/1.129, allocations: 57.41 kB / 1.372 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.694e-05/1.129, allocations: 46.16 kB / 1.372 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.129, allocations: 10.7 kB / 1.372 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.129, allocations: 0 / 1.372 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.129, allocations: 0 / 1.372 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/1.13, allocations: 1.178 MB / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.13, allocations: 0 / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/1.13, allocations: 58.14 kB / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/1.13, allocations: 4.031 kB / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/1.13, allocations: 16.56 kB / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.13, allocations: 3.938 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.13, allocations: 0 / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/1.131, allocations: 0.6305 MB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/1.131, allocations: 122.9 kB / 1.374 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/1.131, allocations: 17.2 kB / 1.374 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/1.132, allocations: 73.38 kB / 1.374 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.132, allocations: 83.05 kB / 1.374 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/1.132, allocations: 29.08 kB / 1.374 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00023/1.132, allocations: 219.8 kB / 1.374 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.132, allocations: 0 / 1.374 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005528/1.133, allocations: 125.9 kB / 1.374 GB, free: 29.73 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 47 (ala.truDel2.u,ala.truDel.u,ala.truDel1.u,ala.truDel3.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,ala.les.lesHys.y,ala.truDel.y,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre.greHys.y,ala.truDel1.y,ala.truDel1.t_next,ala.and2.y,ala.and1.y,ala.lowFloAla.y,ala.booToInt.y,ala.and3.y,ala.assMes1.u,ala.truDel2.y,ala.truDel2.t_next,ala.gre1.greHys.y,ala.assMes2.u,ala.truDel3.y,ala.truDel3.t_next,ala.cloDam.lesHys.y,ala.booToInt3.u,supFan.y,damSta.y,ala.booToInt1.y) * Number of discrete states: 9 (ala.truDel3.t_next,ala.truDel2.t_next,ala.truDel1.t_next,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre1.greHys.y,ala.gre.greHys.y,ala.les.lesHys.y,ala.cloDam.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001209/1.134, allocations: 1.302 MB / 1.376 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008373/1.135, allocations: 0.5886 MB / 1.376 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.135, allocations: 0 / 1.376 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/1.135, allocations: 269.9 kB / 1.376 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/1.136, allocations: 69.75 kB / 1.376 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/1.137, allocations: 0.7684 MB / 1.377 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/1.138, allocations: 0.8695 MB / 1.378 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002191/1.138, allocations: 51.84 kB / 1.378 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/1.138, allocations: 189.6 kB / 1.378 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.138, allocations: 0 / 1.378 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/1.168, allocations: 10.22 MB / 1.388 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/1.168, allocations: 186 kB / 1.388 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.386, allocations: 0 / 1.388 GB, free: 23.76 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms_res.mat does not exist to compare? outputFormat=mat