Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.28/2.28, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001052/0.001052, allocations: 188.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.47/1.47, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0009022/0.0009022, allocations: 95.94 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.524e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2525, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8648/1.117, allocations: 154.9 MB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/1.118, allocations: 73.11 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.05702/1.175, allocations: 22.5 MB / 1.392 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.573e-06/1.175, allocations: 4 kB / 1.392 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.667e-05/1.175, allocations: 36 kB / 1.392 GB, free: 12.11 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.002929/1.178, allocations: 1.601 MB / 1.394 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.178, allocations: 12.03 kB / 1.394 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/1.178, allocations: 217.5 kB / 1.394 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/1.179, allocations: 189.7 kB / 1.394 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/1.18, allocations: 0.9579 MB / 1.395 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.193e-05/1.18, allocations: 123.3 kB / 1.395 GB, free: 9.355 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/1.181, allocations: 171.2 kB / 1.395 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/1.183, allocations: 1.346 MB / 1.397 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/1.183, allocations: 0 / 1.397 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.183, allocations: 62.69 kB / 1.397 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/1.183, allocations: 36 kB / 1.397 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/1.185, allocations: 0.9751 MB / 1.398 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006525/1.191, allocations: 3.999 MB / 1.402 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/1.193, allocations: 1.114 MB / 1.403 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/1.194, allocations: 404.3 kB / 1.403 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-05/1.194, allocations: 20.77 kB / 1.403 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008141/1.194, allocations: 0.5211 MB / 1.404 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=104): time 2.565e-06/1.194, allocations: 0 / 1.404 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of matching and sorting (n=104): time 0.001435/1.196, allocations: 0.7793 MB / 1.404 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.196, allocations: 226.1 kB / 1.405 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/1.197, allocations: 0.851 MB / 1.405 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/1.197, allocations: 62.39 kB / 1.406 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/1.198, allocations: 0.6208 MB / 1.406 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/1.198, allocations: 311.3 kB / 1.406 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/1.198, allocations: 25.69 kB / 1.406 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.198, allocations: 351.8 kB / 1.407 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/1.199, allocations: 352.2 kB / 1.407 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/1.199, allocations: 0.5322 MB / 1.408 GB, free: 132 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/1.2, allocations: 405.7 kB / 1.408 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.2, allocations: 3.938 kB / 1.408 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001622/1.202, allocations: 1.061 MB / 1.409 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002114/1.202, allocations: 0.5122 MB / 1.41 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.202, allocations: 0 / 1.41 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.202, allocations: 8 kB / 1.41 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/1.203, allocations: 193.8 kB / 1.41 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/1.203, allocations: 4 kB / 1.41 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.204, allocations: 246.3 kB / 1.41 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/1.204, allocations: 42.48 kB / 1.41 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.204, allocations: 5.406 kB / 1.41 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/1.205, allocations: 0.9374 MB / 1.411 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.205, allocations: 0 / 1.411 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/1.205, allocations: 11.94 kB / 1.411 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/1.206, allocations: 185.2 kB / 1.411 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/1.206, allocations: 7.953 kB / 1.411 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000994/1.207, allocations: 224.7 kB / 1.411 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/1.207, allocations: 38.73 kB / 1.411 GB, free: 12.97 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: 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 () * 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.000282/1.207, allocations: 185.7 kB / 1.412 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/1.208, allocations: 118.5 kB / 1.412 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/1.209, allocations: 0.8828 MB / 1.413 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.209, allocations: 8 kB / 1.413 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/1.209, allocations: 4 kB / 1.413 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/1.209, allocations: 11.92 kB / 1.413 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/1.213, allocations: 2.236 MB / 1.415 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.213, allocations: 0 / 1.415 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/1.213, allocations: 183.8 kB / 1.415 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/1.214, allocations: 8 kB / 1.415 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.97e-05/1.214, allocations: 27.97 kB / 1.415 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.214, allocations: 4 kB / 1.415 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.214, allocations: 0 / 1.415 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/1.216, allocations: 1.424 MB / 1.416 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/1.216, allocations: 211.4 kB / 1.417 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.216, allocations: 35.98 kB / 1.417 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/1.217, allocations: 91.98 kB / 1.417 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/1.217, allocations: 128.7 kB / 1.417 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/1.217, allocations: 35.98 kB / 1.417 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007845/1.218, allocations: 0.6245 MB / 1.417 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.9e-07/1.218, allocations: 0 / 1.417 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001159/1.219, allocations: 498.5 kB / 1.418 GB, free: 6.238 MB / 0.8698 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) * 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.002442/1.221, allocations: 2.327 MB / 1.42 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002427/1.224, allocations: 1.647 MB / 1.422 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.224, allocations: 4 kB / 1.422 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000646/1.224, allocations: 438.2 kB / 1.422 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/1.226, allocations: 191.6 kB / 1.422 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/1.229, allocations: 1.855 MB / 1.424 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/1.23, allocations: 1.179 MB / 1.425 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009188/1.231, allocations: 200.8 kB / 1.426 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006773/1.232, allocations: 0.5305 MB / 1.426 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of SimCode: time 8.42e-07/1.232, allocations: 0 / 1.426 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/1.28, allocations: 25.78 MB / 1.451 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/1.281, allocations: 226 kB / 1.451 GB, free: 4.07 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/4.287, allocations: 0 / 1.451 GB, free: 4.07 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat does not exist to compare? outputFormat=mat