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.207/2.207, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001344/0.001344, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.0008274/0.0008274, allocations: 103.9 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.953e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.232, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8267/1.059, allocations: 153 MB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/1.059, allocations: 77.56 kB / 1.368 GB, free: 1.078 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02668/1.086, allocations: 9.465 MB / 1.378 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/1.086, allocations: 0 / 1.378 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.02e-05/1.086, allocations: 12 kB / 1.378 GB, free: 8.941 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.001865/1.088, allocations: 0.9053 MB / 1.379 GB, free: 8.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.088, allocations: 8.031 kB / 1.379 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/1.088, allocations: 93.5 kB / 1.379 GB, free: 7.938 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/1.088, allocations: 79.25 kB / 1.379 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/1.089, allocations: 0.5234 MB / 1.379 GB, free: 7.383 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/1.089, allocations: 53.17 kB / 1.379 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/1.089, allocations: 68.86 kB / 1.379 GB, free: 7.301 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008031/1.09, allocations: 469.3 kB / 1.38 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.09, allocations: 0 / 1.38 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/1.09, allocations: 28.3 kB / 1.38 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/1.09, allocations: 12 kB / 1.38 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/1.091, allocations: 330.7 kB / 1.38 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/1.093, allocations: 1.538 MB / 1.382 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006939/1.094, allocations: 466.6 kB / 1.382 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/1.094, allocations: 183 kB / 1.382 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/1.094, allocations: 4.625 kB / 1.382 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005687/1.095, allocations: 365.5 kB / 1.383 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=54): time 2.545e-06/1.095, allocations: 0 / 1.383 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.0009416/1.096, allocations: 0.5549 MB / 1.383 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/1.096, allocations: 59.72 kB / 1.383 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/1.096, allocations: 358.3 kB / 1.384 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.387e-05/1.097, allocations: 59.45 kB / 1.384 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/1.097, allocations: 259.4 kB / 1.384 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.097, allocations: 123.7 kB / 1.384 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/1.097, allocations: 18 kB / 1.384 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.097, allocations: 362.8 kB / 1.384 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/1.097, allocations: 196.5 kB / 1.385 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/1.098, allocations: 351.6 kB / 1.385 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/1.098, allocations: 238.9 kB / 1.385 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/1.098, allocations: 4 kB / 1.385 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001056/1.099, allocations: 0.6557 MB / 1.386 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.079e-05/1.099, allocations: 70.77 kB / 1.386 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.099, allocations: 8 kB / 1.386 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.099, allocations: 8 kB / 1.386 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/1.1, allocations: 82.95 kB / 1.386 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/1.1, allocations: 15.92 kB / 1.386 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008007/1.101, allocations: 170.6 kB / 1.386 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/1.101, allocations: 22.44 kB / 1.386 GB, free: 1.871 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.0002157/1.101, allocations: 182.7 kB / 1.386 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.101, allocations: 63.28 kB / 1.386 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/1.101, allocations: 54.3 kB / 1.386 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.101, allocations: 8 kB / 1.386 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.101, allocations: 0 / 1.386 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/1.101, allocations: 3.984 kB / 1.386 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/1.103, allocations: 1.306 MB / 1.388 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/1.103, allocations: 4.031 kB / 1.388 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/1.103, allocations: 51.03 kB / 1.388 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.103, allocations: 4 kB / 1.388 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/1.104, allocations: 18.28 kB / 1.388 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/1.104, allocations: 4 kB / 1.388 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.104, allocations: 0 / 1.388 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/1.105, allocations: 0.6805 MB / 1.388 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.105, allocations: 123.5 kB / 1.389 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/1.105, allocations: 25.36 kB / 1.389 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/1.105, allocations: 82.86 kB / 1.389 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/1.105, allocations: 85.22 kB / 1.389 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/1.105, allocations: 26.42 kB / 1.389 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002965/1.106, allocations: 258.5 kB / 1.389 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.1e-07/1.106, allocations: 4 kB / 1.389 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006067/1.106, allocations: 144.2 kB / 1.389 GB, free: 15.32 MB / 0.8542 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.001362/1.108, allocations: 1.346 MB / 1.39 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001093/1.109, allocations: 0.6289 MB / 1.391 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.109, allocations: 256 / 1.391 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004436/1.109, allocations: 298.7 kB / 1.391 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/1.11, allocations: 67.38 kB / 1.391 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/1.112, allocations: 0.8248 MB / 1.392 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/1.112, allocations: 0.8686 MB / 1.393 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002534/1.112, allocations: 59.38 kB / 1.393 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/1.113, allocations: 187.9 kB / 1.393 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of SimCode: time 8.82e-07/1.113, allocations: 0 / 1.393 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/1.138, allocations: 11.14 MB / 1.404 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/1.138, allocations: 204.1 kB / 1.404 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.455, allocations: 0.6875 kB / 1.404 GB, free: 0.5703 MB / 0.8542 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