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.Dampers.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.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers",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.216/2.216, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.00116/0.00116, allocations: 186.4 kB / 0.4901 GB, free: 2.246 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.441/1.441, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.000881/0.0008808, allocations: 93.2 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 12.42 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2685, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.4634, allocations: 154.8 MB / 1.381 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.4637, allocations: 83.94 kB / 1.381 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05274/0.5164, allocations: 21.54 MB / 1.402 GB, free: 8.961 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.076e-06/0.5165, allocations: 0 / 1.402 GB, free: 8.961 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.547e-05/0.5166, allocations: 35.98 kB / 1.402 GB, free: 8.926 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.003169/0.5197, allocations: 1.688 MB / 1.403 GB, free: 7.164 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.5198, allocations: 12.56 kB / 1.403 GB, free: 7.152 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.52, allocations: 207 kB / 1.404 GB, free: 6.941 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/0.5203, allocations: 181.9 kB / 1.404 GB, free: 6.762 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.522, allocations: 0.9226 MB / 1.405 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.5221, allocations: 126.8 kB / 1.405 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.5223, allocations: 152 kB / 1.405 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.5246, allocations: 1.371 MB / 1.406 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.5246, allocations: 3.938 kB / 1.406 GB, free: 4.117 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.5247, allocations: 60 kB / 1.406 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.5248, allocations: 36 kB / 1.406 GB, free: 4.023 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.5268, allocations: 1.073 MB / 1.407 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005899/0.5328, allocations: 3.79 MB / 1.411 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.5348, allocations: 1.097 MB / 1.412 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.995e-05/0.5349, allocations: 12.94 kB / 1.412 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.5359, allocations: 0.5657 MB / 1.413 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=96): time 3.046e-06/0.5359, allocations: 4 kB / 1.413 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of matching and sorting (n=96): time 0.002354/0.5383, allocations: 1.19 MB / 1.414 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.5384, allocations: 222.6 kB / 1.414 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.5395, allocations: 0.8363 MB / 1.415 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.5396, allocations: 69.69 kB / 1.415 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004742/0.5401, allocations: 0.5824 MB / 1.416 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.5403, allocations: 287.9 kB / 1.416 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.5404, allocations: 24 kB / 1.416 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5405, allocations: 345.9 kB / 1.416 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008215/0.5413, allocations: 405.8 kB / 1.417 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009161/0.5423, allocations: 0.5833 MB / 1.417 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/0.5431, allocations: 466.2 kB / 1.418 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5431, allocations: 4 kB / 1.418 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002017/0.5451, allocations: 1.144 MB / 1.419 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001912/0.5453, allocations: 0.5058 MB / 1.419 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5453, allocations: 4 kB / 1.419 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.5453, allocations: 15.88 kB / 1.419 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.5461, allocations: 171.8 kB / 1.419 GB, free: 6.301 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.5461, allocations: 11.92 kB / 1.419 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009736/0.5471, allocations: 238.7 kB / 1.42 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/0.5472, allocations: 43.98 kB / 1.42 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.5472, allocations: 4 kB / 1.42 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001734/0.5489, allocations: 0.9757 MB / 1.421 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.5489, allocations: 0 / 1.421 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.5489, allocations: 7.953 kB / 1.421 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.5495, allocations: 171.8 kB / 1.421 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.5496, allocations: 4 kB / 1.421 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008889/0.5505, allocations: 222.9 kB / 1.421 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/0.5505, allocations: 35.98 kB / 1.421 GB, free: 4.586 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: 33 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$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 (117): * Single equations (assignments): 115 * 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.0006487/0.5512, allocations: 379.6 kB / 1.421 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.5514, allocations: 118.5 kB / 1.421 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.5531, allocations: 0.9628 MB / 1.422 GB, free: 3.117 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5532, allocations: 15.95 kB / 1.422 GB, free: 3.102 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5532, allocations: 3.938 kB / 1.422 GB, free: 3.098 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.5532, allocations: 3.984 kB / 1.422 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/0.5565, allocations: 2.286 MB / 1.425 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5565, allocations: 4.125 kB / 1.425 GB, free: 0.7305 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.5572, allocations: 163.7 kB / 1.425 GB, free: 0.5703 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.5572, allocations: 4 kB / 1.425 GB, free: 0.5664 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.5573, allocations: 23.98 kB / 1.425 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.5573, allocations: 8 kB / 1.425 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5573, allocations: 0 / 1.425 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.518/1.075, allocations: 1.553 MB / 1.426 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/1.076, allocations: 206 kB / 1.427 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/1.076, allocations: 29 kB / 1.427 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/1.076, allocations: 95.64 kB / 1.427 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/1.077, allocations: 115.4 kB / 1.427 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.497e-05/1.077, allocations: 34.97 kB / 1.427 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007658/1.077, allocations: 0.6292 MB / 1.427 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.7e-07/1.077, allocations: 0 / 1.427 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001096/1.079, allocations: 466 kB / 1.428 GB, free: 177.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (dam1.conCooDam.I.y) * Number of discrete variables: 23 ($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 (100): * Single equations (assignments): 98 * 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.002861/1.081, allocations: 2.445 MB / 1.43 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003022/1.084, allocations: 1.733 MB / 1.432 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.084, allocations: 0 / 1.432 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/1.085, allocations: 469.2 kB / 1.432 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/1.086, allocations: 194.3 kB / 1.433 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/1.091, allocations: 3.789 MB / 1.436 GB, free: 174 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007585/1.092, allocations: 1.151 MB / 1.437 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007492/1.093, allocations: 144.7 kB / 1.438 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/1.093, allocations: 0.5083 MB / 1.438 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.042e-06/1.093, allocations: 0 / 1.438 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0479/1.141, allocations: 22.87 MB / 1.46 GB, free: 172 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/1.141, allocations: 250.1 kB / 1.461 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/3.844, allocations: 0.875 kB / 1.461 GB, free: 171.7 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.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.Dampers_res.mat does not exist to compare? outputFormat=mat