Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Alarms",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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.328/2.328, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001138/0.001138, allocations: 176.8 kB / 496.1 MB, free: 12.87 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.496/1.496, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009463/0.0009463, allocations: 95.97 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.637e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2992, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.336, allocations: 153.3 MB / 1.369 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.336, allocations: 82.23 kB / 1.369 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03691/1.373, allocations: 12.74 MB / 1.381 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.373, allocations: 0 / 1.381 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.324e-05/1.373, allocations: 16 kB / 1.381 GB, free: 5.797 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002059/1.375, allocations: 1.076 MB / 1.382 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.375, allocations: 12.02 kB / 1.382 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/1.375, allocations: 105.2 kB / 1.382 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/1.376, allocations: 99.02 kB / 1.382 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/1.377, allocations: 0.5937 MB / 1.383 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/1.377, allocations: 66.3 kB / 1.383 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/1.377, allocations: 85.8 kB / 1.383 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/1.378, allocations: 0.5207 MB / 1.384 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/1.378, allocations: 0 / 1.384 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/1.378, allocations: 25.98 kB / 1.384 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/1.378, allocations: 12 kB / 1.384 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/1.379, allocations: 386.5 kB / 1.384 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/1.382, allocations: 1.797 MB / 1.386 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008657/1.383, allocations: 0.4977 MB / 1.386 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/1.383, allocations: 204.5 kB / 1.386 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/1.383, allocations: 4.375 kB / 1.386 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006959/1.384, allocations: 429.3 kB / 1.387 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/1.384, allocations: 0 / 1.387 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65): time 0.001143/1.385, allocations: 0.6384 MB / 1.388 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/1.385, allocations: 67.73 kB / 1.388 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004846/1.386, allocations: 414.9 kB / 1.388 GB, free: 200 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.89e-05/1.386, allocations: 63.52 kB / 1.388 GB, free: 148 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/1.386, allocations: 300.2 kB / 1.388 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.386, allocations: 154.1 kB / 1.388 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/1.386, allocations: 19 kB / 1.388 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.386, allocations: 374.6 kB / 1.389 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/1.387, allocations: 262.7 kB / 1.389 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/1.387, allocations: 461.4 kB / 1.39 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/1.388, allocations: 362.6 kB / 1.39 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.388, allocations: 4 kB / 1.39 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001588/1.39, allocations: 0.9039 MB / 1.391 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/1.39, allocations: 138 kB / 1.391 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.39, allocations: 4 kB / 1.391 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/1.39, allocations: 8 kB / 1.391 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/1.39, allocations: 103.7 kB / 1.391 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/1.39, allocations: 11.94 kB / 1.391 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.391, allocations: 262.6 kB / 1.391 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/1.392, allocations: 46.61 kB / 1.391 GB, free: 13.28 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel6.u,$PRE.ala.truDel7.u,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$PRE.ala.truDel7.t_next,$whenCondition7,$PRE.ala.truDel6.t_next,$whenCondition4,$PRE.ala.truDel1.t_next,$whenCondition1,$PRE.ala.truDel.t_next,ala.truDel7.t_next,ala.truDel6.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,$PRE.ala.cloDam.lesHys.y,ala.cloDam.lesHys.y,$PRE.ala.cloDam1.lesHys.y,ala.cloDam1.lesHys.y,$PRE.ala.gre3.greHys.y,ala.gre3.greHys.y,ala.assMes6.u,ala.truDel6.u,ala.truDel6.y,ala.truDel7.u,ala.truDel7.y,ala.cloBotDam.y,ala.booToInt7.u,$PRE.supCooFan.y,supCooFan.y,$PRE.colDammSta.y,colDammSta.y,$PRE.supHeaFan.y,supHeaFan.y,$PRE.heaDammSta.y,heaDammSta.y,ala.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 4 * 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.0002057/1.392, allocations: 186.8 kB / 1.392 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/1.392, allocations: 71.17 kB / 1.392 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/1.392, allocations: 64.42 kB / 1.392 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.392, allocations: 8 kB / 1.392 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.392, allocations: 3.938 kB / 1.392 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.392, allocations: 7.938 kB / 1.392 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/1.394, allocations: 1.454 MB / 1.393 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.394, allocations: 4 kB / 1.393 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/1.394, allocations: 75 kB / 1.393 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/1.394, allocations: 3.953 kB / 1.393 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/1.394, allocations: 23.2 kB / 1.393 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.394, allocations: 4 kB / 1.393 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.394, allocations: 0 / 1.393 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009697/1.395, allocations: 0.7508 MB / 1.394 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/1.395, allocations: 135.7 kB / 1.394 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/1.396, allocations: 25.36 kB / 1.394 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/1.396, allocations: 97.58 kB / 1.394 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/1.396, allocations: 102.1 kB / 1.394 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/1.396, allocations: 31.05 kB / 1.394 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003051/1.397, allocations: 292.1 kB / 1.395 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/1.397, allocations: 0 / 1.395 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005192/1.397, allocations: 187.6 kB / 1.395 GB, free: 10.43 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: 55 (ala.truDel6.u,ala.truDel.u,ala.truDel1.u,ala.truDel7.u,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$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.cloDam.lesHys.y,ala.cloDam1.lesHys.y,ala.gre3.greHys.y,ala.assMes6.u,ala.truDel6.y,ala.truDel6.t_next,ala.truDel7.y,ala.truDel7.t_next,ala.cloBotDam.y,ala.booToInt7.u,supCooFan.y,colDammSta.y,supHeaFan.y,heaDammSta.y,ala.booToInt1.y) * Number of discrete states: 10 (ala.truDel7.t_next,ala.truDel6.t_next,ala.truDel1.t_next,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre3.greHys.y,ala.gre.greHys.y,ala.les.lesHys.y,ala.cloDam1.lesHys.y,ala.cloDam.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001433/1.399, allocations: 1.44 MB / 1.396 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001243/1.4, allocations: 0.8912 MB / 1.397 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.4, allocations: 4 kB / 1.397 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004685/1.4, allocations: 334.4 kB / 1.397 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/1.401, allocations: 98.5 kB / 1.397 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/1.403, allocations: 0.9552 MB / 1.398 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/1.403, allocations: 0.9079 MB / 1.399 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002538/1.403, allocations: 60.55 kB / 1.399 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/1.404, allocations: 245.7 kB / 1.4 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of SimCode: time 2.81e-07/1.404, allocations: 4 kB / 1.4 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/1.437, allocations: 14.05 MB / 1.413 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/1.438, allocations: 228.6 kB / 1.413 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/3.81, allocations: 7.188 kB / 1.413 GB, free: 8.258 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Alarms.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms_res.mat does not exist to compare? outputFormat=mat