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.276/2.276, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001268/0.001268, allocations: 188.1 kB / 492.3 MB, free: 0.5938 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.396/1.396, allocations: 221.3 MB / 0.7871 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000837/0.000837, allocations: 103.8 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.827e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2501, allocations: 142.3 MB / 1.213 GB, free: 38.32 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9629/1.213, allocations: 152.2 MB / 1.361 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/1.213, allocations: 76.58 kB / 1.361 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02438/1.238, allocations: 9.469 MB / 1.37 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.705e-06/1.238, allocations: 0 / 1.37 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.606e-05/1.238, allocations: 15.5 kB / 1.371 GB, free: 34.24 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.002083/1.24, allocations: 0.9026 MB / 1.371 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.24, allocations: 7.719 kB / 1.371 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/1.24, allocations: 102.6 kB / 1.371 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/1.24, allocations: 81.11 kB / 1.372 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/1.242, allocations: 0.5188 MB / 1.372 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/1.242, allocations: 47.59 kB / 1.372 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/1.242, allocations: 73.97 kB / 1.372 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/1.243, allocations: 467 kB / 1.373 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/1.243, allocations: 0 / 1.373 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/1.243, allocations: 25.41 kB / 1.373 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/1.243, allocations: 11.62 kB / 1.373 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/1.243, allocations: 327.6 kB / 1.373 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/1.246, allocations: 1.536 MB / 1.374 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/1.247, allocations: 465.2 kB / 1.375 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/1.247, allocations: 181.7 kB / 1.375 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/1.247, allocations: 7.828 kB / 1.375 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005672/1.248, allocations: 367.2 kB / 1.375 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=54): time 2.986e-06/1.248, allocations: 0 / 1.375 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.000881/1.248, allocations: 0.5586 MB / 1.376 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/1.249, allocations: 62.97 kB / 1.376 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/1.249, allocations: 355.2 kB / 1.376 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.064e-05/1.249, allocations: 58.2 kB / 1.376 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/1.249, allocations: 258 kB / 1.377 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.693e-05/1.249, allocations: 118.8 kB / 1.377 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/1.249, allocations: 17 kB / 1.377 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.249, allocations: 363.6 kB / 1.377 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/1.25, allocations: 193.6 kB / 1.377 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/1.25, allocations: 360.1 kB / 1.378 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/1.25, allocations: 246.9 kB / 1.378 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.251, allocations: 4 kB / 1.378 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001023/1.252, allocations: 0.6447 MB / 1.379 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.004e-05/1.252, allocations: 76.48 kB / 1.379 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.252, allocations: 3.875 kB / 1.379 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/1.252, allocations: 11.75 kB / 1.379 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/1.252, allocations: 90.27 kB / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/1.252, allocations: 3.844 kB / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/1.253, allocations: 174.9 kB / 1.379 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/1.253, allocations: 31.28 kB / 1.379 GB, free: 31.45 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.0001963/1.253, allocations: 175 kB / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/1.253, allocations: 52.84 kB / 1.379 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/1.253, allocations: 60.28 kB / 1.379 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.253, allocations: 7.828 kB / 1.379 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.253, allocations: 4 kB / 1.379 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.253, allocations: 2.109 kB / 1.379 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/1.255, allocations: 1.301 MB / 1.381 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.255, allocations: 0 / 1.381 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/1.255, allocations: 57.16 kB / 1.381 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/1.255, allocations: 3.844 kB / 1.381 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/1.255, allocations: 15.92 kB / 1.381 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/1.256, allocations: 11.88 kB / 1.381 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.256, allocations: 3.938 kB / 1.381 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/1.256, allocations: 0.6789 MB / 1.381 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.511e-05/1.256, allocations: 121.5 kB / 1.381 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/1.257, allocations: 22.98 kB / 1.381 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004484/1.257, allocations: 83.97 kB / 1.381 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/1.257, allocations: 80.14 kB / 1.382 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/1.257, allocations: 27.64 kB / 1.382 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002538/1.258, allocations: 256.1 kB / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.258, allocations: 0 / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005331/1.258, allocations: 149.5 kB / 1.382 GB, free: 30.51 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.001314/1.259, allocations: 1.346 MB / 1.383 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008332/1.26, allocations: 0.6285 MB / 1.384 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.26, allocations: 0 / 1.384 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/1.261, allocations: 298.7 kB / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/1.261, allocations: 65.73 kB / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/1.263, allocations: 0.8332 MB / 1.385 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/1.263, allocations: 0.8722 MB / 1.386 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002488/1.264, allocations: 58.02 kB / 1.386 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/1.264, allocations: 184.9 kB / 1.386 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.264, allocations: 0 / 1.386 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/1.29, allocations: 11.13 MB / 1.397 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.29, allocations: 195.5 kB / 1.397 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/3.497, allocations: 0 / 1.397 GB, free: 22.91 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