Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.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.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers",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.137/2.137, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001095/0.001095, allocations: 177.2 kB / 498.1 MB, free: 5.738 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.452/1.452, allocations: 223.2 MB / 0.7948 GB, free: 17.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.0009199/0.0009197, allocations: 92.34 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 10.59 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2611, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.4443, allocations: 154.1 MB / 1.373 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4447, allocations: 79.45 kB / 1.374 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05948/0.5042, allocations: 22.54 MB / 1.396 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5042, allocations: 3.938 kB / 1.396 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001366/0.5043, allocations: 40 kB / 1.396 GB, free: 1.086 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.004333/0.5087, allocations: 1.76 MB / 1.397 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5087, allocations: 8.031 kB / 1.397 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005115/0.5093, allocations: 219.7 kB / 1.398 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005369/0.5098, allocations: 189.7 kB / 1.398 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.512, allocations: 0.9695 MB / 1.399 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.5121, allocations: 127 kB / 1.399 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.5124, allocations: 156 kB / 1.399 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.515, allocations: 1.444 MB / 1.4 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.5151, allocations: 0 / 1.4 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.5152, allocations: 64 kB / 1.4 GB, free: 12 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.5152, allocations: 36 kB / 1.4 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.5174, allocations: 1.148 MB / 1.402 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00669/0.5241, allocations: 3.998 MB / 1.405 GB, free: 6.738 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.5263, allocations: 1.263 MB / 1.407 GB, free: 5.434 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/0.5264, allocations: 12.98 kB / 1.407 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.5275, allocations: 0.6086 MB / 1.407 GB, free: 4.781 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=104): time 2.705e-06/0.5275, allocations: 0 / 1.407 GB, free: 4.781 MB / 0.9011 GB Notification: Performance of matching and sorting (n=104): time 0.002897/0.5304, allocations: 1.276 MB / 1.409 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/0.5306, allocations: 222.6 kB / 1.409 GB, free: 3.238 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.5322, allocations: 0.8593 MB / 1.41 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.5323, allocations: 65.7 kB / 1.41 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006171/0.533, allocations: 0.6215 MB / 1.41 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.5333, allocations: 323.4 kB / 1.411 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.5333, allocations: 20 kB / 1.411 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.5335, allocations: 345.9 kB / 1.411 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009092/0.5344, allocations: 430.1 kB / 1.411 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.5355, allocations: 0.6164 MB / 1.412 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/0.5364, allocations: 486.2 kB / 1.412 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5364, allocations: 0 / 1.412 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002296/0.5387, allocations: 1.226 MB / 1.414 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002323/0.5389, allocations: 0.5063 MB / 1.414 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.539, allocations: 4 kB / 1.414 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.539, allocations: 4 kB / 1.414 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/0.5398, allocations: 191.7 kB / 1.414 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.5398, allocations: 8 kB / 1.414 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.5409, allocations: 246.7 kB / 1.415 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/0.541, allocations: 43.98 kB / 1.415 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.541, allocations: 4 kB / 1.415 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001899/0.5429, allocations: 1.046 MB / 1.416 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5429, allocations: 4.125 kB / 1.416 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.5429, allocations: 8 kB / 1.416 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.5436, allocations: 175.7 kB / 1.416 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.5436, allocations: 8 kB / 1.416 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/0.5446, allocations: 226.8 kB / 1.416 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/0.5447, allocations: 39.98 kB / 1.416 GB, free: 11.59 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition6,$whenCondition5,dam.and4.y,$PRE.dam.greThr1.greHys.y,dam.greThr1.greHys.y,$PRE.dam.greThr.greHys.y,dam.greThr.greHys.y,$PRE.dam.greThr2.greHys.y,dam.greThr2.greHys.y,dam.not1.y,$PRE.dam.greThr3.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,$PRE.dam1.greThr1.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr.greHys.y,dam1.greThr.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,$PRE.dam1.greThr3.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,$PRE.cooAhu.y,cooAhu.y,$PRE.heaAhu.y,heaAhu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * 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.0007426/0.5455, allocations: 407.5 kB / 1.416 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.5457, allocations: 122.4 kB / 1.417 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.5477, allocations: 1.026 MB / 1.418 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.5477, allocations: 12 kB / 1.418 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5477, allocations: 0 / 1.418 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.5477, allocations: 7.984 kB / 1.418 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.5514, allocations: 2.388 MB / 1.42 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5514, allocations: 0 / 1.42 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/0.5522, allocations: 191.8 kB / 1.42 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.5522, allocations: 4 kB / 1.42 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.5523, allocations: 27.94 kB / 1.42 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.5523, allocations: 4 kB / 1.42 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5523, allocations: 0 / 1.42 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.555, allocations: 1.658 MB / 1.422 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.5552, allocations: 219.3 kB / 1.422 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.5554, allocations: 31.98 kB / 1.422 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.556, allocations: 91.98 kB / 1.422 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.5562, allocations: 124.7 kB / 1.422 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/0.5563, allocations: 35.98 kB / 1.422 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008128/0.5571, allocations: 0.6432 MB / 1.423 GB, free: 4.465 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5571, allocations: 4 kB / 1.423 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001218/0.5584, allocations: 498.4 kB / 1.423 GB, free: 3.973 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (dam1.conCooDam.I.y,dam1.conHeaDam.I.y) * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam.and4.y,dam.greThr1.greHys.y,dam.greThr.greHys.y,dam.greThr2.greHys.y,dam.not1.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,dam1.greThr1.greHys.y,dam1.greThr.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,cooAhu.y,heaAhu.y) * Number of discrete states: 8 (dam.greThr.greHys.y,dam.greThr3.greHys.y,dam1.greThr.greHys.y,dam1.greThr3.greHys.y,dam1.greThr1.greHys.y,dam.greThr1.greHys.y,dam1.greThr2.greHys.y,dam.greThr2.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003309/0.5617, allocations: 2.547 MB / 1.426 GB, free: 1.371 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.4442/1.006, allocations: 1.819 MB / 1.428 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.006, allocations: 1 kB / 1.428 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000986/1.007, allocations: 0.4974 MB / 1.428 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/1.008, allocations: 196.4 kB / 1.428 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/1.013, allocations: 3.989 MB / 1.432 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000731/1.013, allocations: 1.173 MB / 1.433 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000716/1.014, allocations: 154 kB / 1.433 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/1.015, allocations: 0.5434 MB / 1.434 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.283e-06/1.015, allocations: 3.281 kB / 1.434 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05519/1.07, allocations: 23.82 MB / 1.457 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/1.07, allocations: 244.2 kB / 1.457 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.858/3.928, allocations: 4 kB / 1.457 GB, free: 180.7 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat does not exist to compare? outputFormat=mat