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.278/2.278, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001174/0.001174, allocations: 195.9 kB / 0.4902 GB, free: 2.25 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.52/1.52, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009129/0.0009125, allocations: 91.23 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 10.66 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2448, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.4282, allocations: 153.4 MB / 1.379 GB, free: 80 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.4285, allocations: 75.95 kB / 1.379 GB, free: 4 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03883/0.4674, allocations: 12.78 MB / 1.392 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.023e-05/0.4674, allocations: 3.984 kB / 1.392 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.83e-05/0.4675, allocations: 16 kB / 1.392 GB, free: 3.191 MB / 0.8855 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.003414/0.471, allocations: 1.157 MB / 1.393 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.471, allocations: 8.562 kB / 1.393 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002811/0.4713, allocations: 102.5 kB / 1.393 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/0.4717, allocations: 103 kB / 1.393 GB, free: 1.723 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.4732, allocations: 0.5918 MB / 1.394 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-05/0.4733, allocations: 61.3 kB / 1.394 GB, free: 1.035 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.4735, allocations: 87.98 kB / 1.394 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.4749, allocations: 0.5998 MB / 1.394 GB, free: 352 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4749, allocations: 0 / 1.394 GB, free: 352 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/0.475, allocations: 27.98 kB / 1.394 GB, free: 324 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.475, allocations: 12 kB / 1.394 GB, free: 312 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.4763, allocations: 0.5243 MB / 1.395 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.4798, allocations: 1.782 MB / 1.397 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.481, allocations: 0.5871 MB / 1.397 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.481, allocations: 4.375 kB / 1.397 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009905/0.482, allocations: 494.4 kB / 1.398 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=65): time 2.284e-06/0.482, allocations: 0 / 1.398 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=65): time 0.00235/0.4844, allocations: 1.053 MB / 1.399 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.4844, allocations: 67.92 kB / 1.399 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.4849, allocations: 416.8 kB / 1.399 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.4851, allocations: 65.7 kB / 1.399 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.4854, allocations: 308.8 kB / 1.399 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.4855, allocations: 146.2 kB / 1.4 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.4856, allocations: 24 kB / 1.4 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4857, allocations: 370.8 kB / 1.4 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008117/0.4866, allocations: 341.8 kB / 1.4 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009231/0.4875, allocations: 0.5295 MB / 1.401 GB, free: 9.426 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008255/0.4883, allocations: 436.8 kB / 1.401 GB, free: 8.98 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.4883, allocations: 4 kB / 1.401 GB, free: 8.977 MB / 0.9011 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002036/0.4904, allocations: 1.044 MB / 1.402 GB, free: 7.898 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/0.4905, allocations: 138.8 kB / 1.402 GB, free: 7.738 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4905, allocations: 4 kB / 1.402 GB, free: 7.734 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.4905, allocations: 8 kB / 1.402 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.491, allocations: 103.8 kB / 1.403 GB, free: 7.625 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.491, allocations: 15.92 kB / 1.403 GB, free: 7.609 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.4921, allocations: 275.5 kB / 1.403 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.553e-05/0.4922, allocations: 39.98 kB / 1.403 GB, free: 7.301 MB / 0.9011 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 () * Number of clocked 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.0003598/0.4926, allocations: 250.9 kB / 1.403 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.094e-05/0.4927, allocations: 67.23 kB / 1.403 GB, free: 6.984 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.4929, allocations: 65.48 kB / 1.403 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4929, allocations: 8 kB / 1.403 GB, free: 6.91 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4929, allocations: 0 / 1.403 GB, free: 6.91 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4929, allocations: 3.984 kB / 1.403 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.4956, allocations: 1.609 MB / 1.405 GB, free: 5.238 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4956, allocations: 0 / 1.405 GB, free: 5.238 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.4959, allocations: 71.81 kB / 1.405 GB, free: 5.168 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.4959, allocations: 4 kB / 1.405 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/0.496, allocations: 23.94 kB / 1.405 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.496, allocations: 4.031 kB / 1.405 GB, free: 5.137 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.496, allocations: 0 / 1.405 GB, free: 5.137 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.4976, allocations: 0.9003 MB / 1.406 GB, free: 4.207 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.4977, allocations: 132.3 kB / 1.406 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.57e-05/0.4978, allocations: 27.94 kB / 1.406 GB, free: 4.031 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/0.4983, allocations: 95.89 kB / 1.406 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.4985, allocations: 96.41 kB / 1.406 GB, free: 3.844 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/0.4986, allocations: 39.97 kB / 1.406 GB, free: 3.805 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003144/0.4989, allocations: 294.9 kB / 1.406 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4989, allocations: 0 / 1.406 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006442/0.4995, allocations: 183.8 kB / 1.407 GB, free: 3.336 MB / 0.9011 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) * Number of clocked states: 0 () * 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.002167/0.5017, allocations: 1.598 MB / 1.408 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.5038, allocations: 1.041 MB / 1.409 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5038, allocations: 0 / 1.409 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000813/0.5046, allocations: 411.2 kB / 1.41 GB, free: 228 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.5052, allocations: 94.72 kB / 1.41 GB, free: 128 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.5101, allocations: 4.722 MB / 1.414 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006373/0.5107, allocations: 0.9121 MB / 1.415 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003436/0.5111, allocations: 60.55 kB / 1.415 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.5115, allocations: 247.3 kB / 1.415 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of SimCode: time 3.557e-06/0.5115, allocations: 0 / 1.415 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5139/1.025, allocations: 13.81 MB / 1.429 GB, free: 185 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/1.026, allocations: 256.2 kB / 1.429 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/3.294, allocations: 1.031 kB / 1.429 GB, free: 184.7 MB / 0.9167 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