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.2/2.2, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001103/0.001103, allocations: 172.9 kB / 496.1 MB, free: 12.89 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.435/1.435, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.0008756/0.0008756, allocations: 99.89 kB / 0.9318 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.54e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2701, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8992/1.169, allocations: 154.8 MB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/1.17, allocations: 83.48 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.05469/1.224, allocations: 21.49 MB / 1.391 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.653e-06/1.224, allocations: 0 / 1.391 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.521e-05/1.224, allocations: 32 kB / 1.391 GB, free: 13.08 MB / 0.8542 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.002705/1.227, allocations: 1.541 MB / 1.393 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.227, allocations: 12.03 kB / 1.393 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/1.227, allocations: 208 kB / 1.393 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/1.228, allocations: 181.9 kB / 1.393 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/1.229, allocations: 0.9208 MB / 1.394 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/1.23, allocations: 120.8 kB / 1.394 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/1.23, allocations: 149.6 kB / 1.394 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/1.232, allocations: 1.277 MB / 1.395 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/1.232, allocations: 7.938 kB / 1.395 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/1.232, allocations: 59.94 kB / 1.396 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/1.232, allocations: 35.98 kB / 1.396 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/1.234, allocations: 0.9127 MB / 1.396 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006384/1.24, allocations: 3.795 MB / 1.4 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/1.242, allocations: 0.9717 MB / 1.401 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006201/1.243, allocations: 363.6 kB / 1.401 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/1.243, allocations: 8.781 kB / 1.401 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000826/1.243, allocations: 0.4887 MB / 1.402 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=96): time 5.771e-06/1.243, allocations: 4 kB / 1.402 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of matching and sorting (n=96): time 0.001457/1.245, allocations: 0.7248 MB / 1.403 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/1.245, allocations: 222 kB / 1.403 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.246, allocations: 0.8287 MB / 1.404 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/1.246, allocations: 62.75 kB / 1.404 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/1.247, allocations: 0.5903 MB / 1.404 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/1.247, allocations: 293.6 kB / 1.405 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/1.247, allocations: 17 kB / 1.405 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.247, allocations: 351.5 kB / 1.405 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005999/1.248, allocations: 330.9 kB / 1.405 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000737/1.249, allocations: 0.5078 MB / 1.406 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/1.249, allocations: 386.8 kB / 1.406 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.249, allocations: 4 kB / 1.406 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001611/1.251, allocations: 1.006 MB / 1.407 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002522/1.251, allocations: 0.5106 MB / 1.408 GB, free: 168 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.251, allocations: 4 kB / 1.408 GB, free: 164 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/1.251, allocations: 4 kB / 1.408 GB, free: 160 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/1.252, allocations: 174.3 kB / 1.408 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/1.252, allocations: 4 kB / 1.408 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.253, allocations: 244.5 kB / 1.408 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.795e-05/1.253, allocations: 43.42 kB / 1.408 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/1.253, allocations: 4 kB / 1.408 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001481/1.255, allocations: 0.8857 MB / 1.409 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/1.255, allocations: 4 kB / 1.409 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/1.255, allocations: 7.953 kB / 1.409 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/1.255, allocations: 165.5 kB / 1.409 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.256, allocations: 4 kB / 1.409 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009434/1.256, allocations: 222.4 kB / 1.409 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.042e-05/1.257, allocations: 38.23 kB / 1.409 GB, free: 14.71 MB / 0.8698 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 () * 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.0002688/1.257, allocations: 178.6 kB / 1.409 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/1.257, allocations: 114.5 kB / 1.41 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/1.258, allocations: 0.8302 MB / 1.41 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/1.259, allocations: 15.95 kB / 1.41 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.259, allocations: 3.938 kB / 1.41 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.259, allocations: 3.984 kB / 1.41 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/1.262, allocations: 2.139 MB / 1.413 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.262, allocations: 3.984 kB / 1.413 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/1.262, allocations: 159.8 kB / 1.413 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/1.262, allocations: 4 kB / 1.413 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.682e-05/1.262, allocations: 28.11 kB / 1.413 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/1.262, allocations: 15.91 kB / 1.413 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.262, allocations: 0 / 1.413 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/1.264, allocations: 1.337 MB / 1.414 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/1.265, allocations: 207.4 kB / 1.414 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/1.265, allocations: 28 kB / 1.414 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/1.265, allocations: 95.92 kB / 1.414 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/1.266, allocations: 120.5 kB / 1.414 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/1.266, allocations: 31.98 kB / 1.414 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008224/1.267, allocations: 0.62 MB / 1.415 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.267, allocations: 0 / 1.415 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001223/1.268, allocations: 466.6 kB / 1.416 GB, free: 8.715 MB / 0.8698 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) * 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.002444/1.27, allocations: 2.227 MB / 1.418 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002599/1.273, allocations: 1.567 MB / 1.419 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.273, allocations: 0 / 1.419 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006294/1.274, allocations: 404.3 kB / 1.42 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/1.275, allocations: 193.9 kB / 1.42 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/1.278, allocations: 1.731 MB / 1.422 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/1.279, allocations: 1.152 MB / 1.423 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008791/1.28, allocations: 200.2 kB / 1.423 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006986/1.28, allocations: 0.4915 MB / 1.423 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of SimCode: time 7.01e-07/1.28, allocations: 0 / 1.423 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0514/1.332, allocations: 24.77 MB / 1.448 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003044/1.332, allocations: 227.2 kB / 1.448 GB, free: 7.953 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/4.302, allocations: 0 / 1.448 GB, free: 7.953 MB / 0.9011 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