Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.0009705/0.0009706, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.427/1.427, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009143/0.0009144, allocations: 105.8 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.664e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2443, allocations: 142.4 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8468/1.091, allocations: 154 MB / 1.363 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/1.091, allocations: 77.94 kB / 1.363 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04883/1.14, allocations: 21.49 MB / 1.384 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.134e-06/1.14, allocations: 0 / 1.384 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.782e-05/1.14, allocations: 34.94 kB / 1.384 GB, free: 30.38 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.002506/1.143, allocations: 1.541 MB / 1.386 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.143, allocations: 11.83 kB / 1.386 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/1.143, allocations: 204 kB / 1.386 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/1.143, allocations: 174.7 kB / 1.386 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/1.145, allocations: 0.9278 MB / 1.387 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/1.145, allocations: 126.1 kB / 1.387 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/1.145, allocations: 155 kB / 1.387 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/1.147, allocations: 1.271 MB / 1.388 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/1.147, allocations: 0 / 1.388 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.256e-05/1.147, allocations: 62.12 kB / 1.388 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/1.147, allocations: 34.78 kB / 1.388 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/1.149, allocations: 0.914 MB / 1.389 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004813/1.153, allocations: 3.786 MB / 1.393 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/1.155, allocations: 0.9768 MB / 1.394 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/1.155, allocations: 366.9 kB / 1.394 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-05/1.155, allocations: 23.83 kB / 1.394 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006374/1.156, allocations: 494.7 kB / 1.395 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=96): time 2.514e-06/1.156, allocations: 0 / 1.395 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=96): time 0.001062/1.157, allocations: 0.7267 MB / 1.395 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/1.157, allocations: 225.7 kB / 1.396 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/1.158, allocations: 0.8263 MB / 1.397 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.645e-05/1.158, allocations: 60.95 kB / 1.397 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/1.158, allocations: 0.5808 MB / 1.397 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/1.159, allocations: 297.5 kB / 1.397 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/1.159, allocations: 22.53 kB / 1.397 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.159, allocations: 348.2 kB / 1.398 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/1.159, allocations: 330.9 kB / 1.398 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/1.16, allocations: 0.5036 MB / 1.399 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/1.16, allocations: 393.3 kB / 1.399 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.16, allocations: 0 / 1.399 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001358/1.162, allocations: 1.008 MB / 1.4 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/1.162, allocations: 0.5078 MB / 1.4 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.162, allocations: 0 / 1.4 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.162, allocations: 7.812 kB / 1.4 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/1.163, allocations: 179.4 kB / 1.401 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/1.163, allocations: 11.83 kB / 1.401 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008978/1.164, allocations: 239.2 kB / 1.401 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/1.164, allocations: 37.95 kB / 1.401 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/1.164, allocations: 7.812 kB / 1.401 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001191/1.165, allocations: 0.8863 MB / 1.402 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/1.165, allocations: 0 / 1.402 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/1.165, allocations: 7.719 kB / 1.402 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/1.165, allocations: 173.2 kB / 1.402 GB, free: 23.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.165, allocations: 3.844 kB / 1.402 GB, free: 23.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/1.166, allocations: 219.8 kB / 1.402 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.714e-05/1.166, allocations: 40.8 kB / 1.402 GB, free: 23.3 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.000207/1.167, allocations: 179 kB / 1.402 GB, free: 23.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/1.167, allocations: 115.2 kB / 1.402 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/1.168, allocations: 0.8212 MB / 1.403 GB, free: 22.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/1.168, allocations: 12 kB / 1.403 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.168, allocations: 3.953 kB / 1.403 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/1.168, allocations: 3.984 kB / 1.403 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/1.171, allocations: 2.143 MB / 1.405 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.171, allocations: 0 / 1.405 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/1.171, allocations: 166 kB / 1.406 GB, free: 20.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-06/1.171, allocations: 8.125 kB / 1.406 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/1.171, allocations: 24.3 kB / 1.406 GB, free: 20.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.171, allocations: 4 kB / 1.406 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.171, allocations: 0 / 1.406 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/1.173, allocations: 1.341 MB / 1.407 GB, free: 19.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/1.173, allocations: 210.6 kB / 1.407 GB, free: 19.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.173, allocations: 31.8 kB / 1.407 GB, free: 19.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005834/1.174, allocations: 88.98 kB / 1.407 GB, free: 19.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/1.174, allocations: 119.3 kB / 1.407 GB, free: 19.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/1.174, allocations: 33.67 kB / 1.407 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006624/1.175, allocations: 0.6175 MB / 1.408 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.175, allocations: 0 / 1.408 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001017/1.176, allocations: 467.3 kB / 1.408 GB, free: 18.57 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.001986/1.178, allocations: 2.232 MB / 1.411 GB, free: 16.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001988/1.18, allocations: 1.572 MB / 1.412 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.18, allocations: 3.938 kB / 1.412 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005063/1.18, allocations: 393 kB / 1.412 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000878/1.181, allocations: 189.1 kB / 1.413 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/1.184, allocations: 1.746 MB / 1.414 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/1.185, allocations: 1.152 MB / 1.415 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008816/1.186, allocations: 196.2 kB / 1.416 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/1.186, allocations: 0.4922 MB / 1.416 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of SimCode: time 9.22e-07/1.186, allocations: 0 / 1.416 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05035/1.237, allocations: 24.75 MB / 1.44 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.237, allocations: 224.1 kB / 1.441 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.035/4.272, allocations: 0 / 1.441 GB, free: 3.555 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers_res.mat does not exist to compare? outputFormat=mat