Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.389/2.389, allocations: 390.5 MB / 398 MB, free: 10.98 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.001182/0.001181, allocations: 176.8 kB / 491.2 MB, free: 1.566 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.486/1.486, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0008307/0.0008307, allocations: 95.89 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.814e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2375, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9079/1.145, allocations: 152.3 MB / 1.361 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/1.146, allocations: 76.84 kB / 1.361 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0255/1.171, allocations: 9.395 MB / 1.37 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/1.171, allocations: 0 / 1.37 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.682e-05/1.171, allocations: 11.5 kB / 1.37 GB, free: 32.45 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.00204/1.173, allocations: 0.9141 MB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.173, allocations: 7.812 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/1.174, allocations: 84.36 kB / 1.371 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/1.175, allocations: 0.5159 MB / 1.372 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/1.175, allocations: 28.64 kB / 1.372 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/1.175, allocations: 45.14 kB / 1.372 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005914/1.176, allocations: 310.8 kB / 1.372 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/1.176, allocations: 397 kB / 1.373 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/1.176, allocations: 0 / 1.373 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/1.176, allocations: 7.266 kB / 1.373 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.176, allocations: 11.53 kB / 1.373 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/1.179, allocations: 1.433 MB / 1.374 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/1.179, allocations: 417.3 kB / 1.375 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/1.18, allocations: 162.7 kB / 1.375 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/1.18, allocations: 3.906 kB / 1.375 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004902/1.18, allocations: 356.9 kB / 1.375 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=54): time 1.964e-06/1.18, allocations: 0 / 1.375 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.0008398/1.181, allocations: 0.5119 MB / 1.376 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/1.181, allocations: 59.69 kB / 1.376 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/1.181, allocations: 323 kB / 1.376 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/1.182, allocations: 43.98 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/1.182, allocations: 259.4 kB / 1.376 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/1.182, allocations: 117.6 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/1.182, allocations: 3.844 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.182, allocations: 364.9 kB / 1.377 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/1.182, allocations: 178.6 kB / 1.377 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/1.183, allocations: 335.1 kB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/1.183, allocations: 183.2 kB / 1.377 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.183, allocations: 0 / 1.377 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009592/1.184, allocations: 0.5528 MB / 1.378 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/1.184, allocations: 68.42 kB / 1.378 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.184, allocations: 7.828 kB / 1.378 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.184, allocations: 7.781 kB / 1.378 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/1.185, allocations: 85.02 kB / 1.378 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.185, allocations: 12.03 kB / 1.378 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/1.185, allocations: 158.8 kB / 1.378 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/1.185, allocations: 29.2 kB / 1.378 GB, free: 29.88 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.0001955/1.186, allocations: 166.2 kB / 1.378 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007132/1.186, allocations: 0.4965 MB / 1.379 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/1.186, allocations: 53.73 kB / 1.379 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/1.187, allocations: 53.39 kB / 1.379 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.187, allocations: 3.875 kB / 1.379 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.187, allocations: 0 / 1.379 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.187, allocations: 2.672 kB / 1.379 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/1.188, allocations: 1.186 MB / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.188, allocations: 0 / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/1.189, allocations: 56.56 kB / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/1.189, allocations: 7.828 kB / 1.38 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/1.189, allocations: 13.92 kB / 1.38 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/1.189, allocations: 0 / 1.38 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.189, allocations: 3.875 kB / 1.38 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/1.19, allocations: 0.6294 MB / 1.381 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.224e-05/1.19, allocations: 121.7 kB / 1.381 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/1.19, allocations: 14.23 kB / 1.381 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/1.19, allocations: 77.55 kB / 1.381 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/1.19, allocations: 83.23 kB / 1.381 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-05/1.19, allocations: 34.27 kB / 1.381 GB, free: 29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002429/1.191, allocations: 216.8 kB / 1.381 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.191, allocations: 3.844 kB / 1.381 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006018/1.191, allocations: 125 kB / 1.381 GB, free: 28.91 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.001395/1.193, allocations: 1.298 MB / 1.383 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009344/1.194, allocations: 0.589 MB / 1.383 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.194, allocations: 0 / 1.383 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/1.194, allocations: 278.3 kB / 1.384 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/1.194, allocations: 72.56 kB / 1.384 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/1.196, allocations: 0.7566 MB / 1.384 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/1.197, allocations: 0.8708 MB / 1.385 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002312/1.197, allocations: 51.19 kB / 1.385 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/1.197, allocations: 187.6 kB / 1.385 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of SimCode: time 8.62e-07/1.197, allocations: 0 / 1.385 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/1.228, allocations: 10.22 MB / 1.395 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/1.228, allocations: 195.9 kB / 1.396 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.428, allocations: 0 / 1.396 GB, free: 22.05 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms_res.mat does not exist to compare? outputFormat=mat