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.31/2.31, allocations: 390.5 MB / 398 MB, free: 10.92 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.001136/0.001136, allocations: 183.6 kB / 491.2 MB, free: 1.551 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.463/1.463, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.000998/0.0009979, allocations: 91.52 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.878e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2348, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.849/1.084, allocations: 154.1 MB / 1.363 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/1.084, allocations: 71.5 kB / 1.363 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04953/1.134, allocations: 21.33 MB / 1.384 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.593e-06/1.134, allocations: 3.969 kB / 1.384 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001066/1.134, allocations: 34.88 kB / 1.384 GB, free: 29.05 MB / 0.8386 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.002743/1.137, allocations: 1.542 MB / 1.385 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.137, allocations: 7.688 kB / 1.385 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/1.137, allocations: 181.6 kB / 1.386 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/1.139, allocations: 0.9232 MB / 1.386 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/1.139, allocations: 53.53 kB / 1.387 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/1.139, allocations: 92.25 kB / 1.387 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001527/1.14, allocations: 0.8432 MB / 1.387 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/1.142, allocations: 1.069 MB / 1.388 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/1.142, allocations: 4 kB / 1.388 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/1.142, allocations: 3.875 kB / 1.388 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/1.142, allocations: 34.59 kB / 1.389 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005106/1.147, allocations: 3.468 MB / 1.392 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/1.149, allocations: 0.9357 MB / 1.393 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/1.149, allocations: 341.3 kB / 1.393 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/1.149, allocations: 8.438 kB / 1.393 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006477/1.15, allocations: 475 kB / 1.394 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=96): time 2.775e-06/1.15, allocations: 3.938 kB / 1.394 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=96): time 0.001038/1.151, allocations: 0.6485 MB / 1.394 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/1.151, allocations: 225.8 kB / 1.394 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/1.152, allocations: 0.5554 MB / 1.395 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/1.152, allocations: 40.3 kB / 1.395 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/1.152, allocations: 0.6038 MB / 1.396 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/1.152, allocations: 284.1 kB / 1.396 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/1.152, allocations: 7.844 kB / 1.396 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001026/1.153, allocations: 345.7 kB / 1.396 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/1.153, allocations: 307.3 kB / 1.397 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/1.154, allocations: 0.4899 MB / 1.397 GB, free: 23.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/1.154, allocations: 326.5 kB / 1.397 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/1.154, allocations: 0 / 1.397 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001614/1.156, allocations: 0.8737 MB / 1.398 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002576/1.156, allocations: 0.5088 MB / 1.399 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.156, allocations: 3.812 kB / 1.399 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/1.156, allocations: 3.969 kB / 1.399 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/1.157, allocations: 178.6 kB / 1.399 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.157, allocations: 7.562 kB / 1.399 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/1.158, allocations: 179.7 kB / 1.399 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/1.158, allocations: 46.11 kB / 1.399 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.158, allocations: 9.438 kB / 1.399 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001276/1.159, allocations: 0.7507 MB / 1.4 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.159, allocations: 3.844 kB / 1.4 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/1.159, allocations: 3.844 kB / 1.4 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/1.16, allocations: 157.6 kB / 1.4 GB, free: 22.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/1.16, allocations: 23.75 kB / 1.4 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008389/1.161, allocations: 167.9 kB / 1.4 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/1.161, allocations: 34.69 kB / 1.4 GB, free: 22.41 MB / 0.8386 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.000226/1.161, allocations: 139 kB / 1.4 GB, free: 22.28 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008658/1.162, allocations: 0.639 MB / 1.401 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/1.162, allocations: 89.16 kB / 1.401 GB, free: 22.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/1.163, allocations: 0.7371 MB / 1.402 GB, free: 21.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/1.163, allocations: 11.5 kB / 1.402 GB, free: 21.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.163, allocations: 0 / 1.402 GB, free: 21.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.163, allocations: 3.984 kB / 1.402 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/1.166, allocations: 1.898 MB / 1.404 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.166, allocations: 0 / 1.404 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/1.166, allocations: 166.8 kB / 1.404 GB, free: 21.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/1.166, allocations: 3.844 kB / 1.404 GB, free: 21.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/1.166, allocations: 11.27 kB / 1.404 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/1.166, allocations: 11.66 kB / 1.404 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.166, allocations: 7.922 kB / 1.404 GB, free: 21.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/1.168, allocations: 1.251 MB / 1.405 GB, free: 20.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.168, allocations: 173.8 kB / 1.405 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.168, allocations: 15 kB / 1.405 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/1.169, allocations: 82.39 kB / 1.405 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/1.169, allocations: 114.3 kB / 1.405 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/1.169, allocations: 31.23 kB / 1.405 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004964/1.169, allocations: 412.2 kB / 1.406 GB, free: 20.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.169, allocations: 0 / 1.406 GB, free: 20.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001139/1.171, allocations: 461.6 kB / 1.406 GB, free: 19.69 MB / 0.8386 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.00192/1.173, allocations: 2.123 MB / 1.408 GB, free: 17.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001887/1.174, allocations: 1.487 MB / 1.41 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.174, allocations: 0 / 1.41 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004591/1.175, allocations: 373.6 kB / 1.41 GB, free: 16.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/1.176, allocations: 152.6 kB / 1.41 GB, free: 16.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/1.179, allocations: 1.623 MB / 1.412 GB, free: 15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/1.179, allocations: 1.154 MB / 1.413 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007617/1.18, allocations: 161.8 kB / 1.413 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/1.181, allocations: 0.5021 MB / 1.414 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of SimCode: time 7.22e-07/1.181, allocations: 0 / 1.414 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04626/1.227, allocations: 20.71 MB / 1.434 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/1.227, allocations: 211.3 kB / 1.434 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/4.157, allocations: 1.422 kB / 1.434 GB, free: 8.742 MB / 0.8542 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