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.293/2.293, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001409/0.001409, allocations: 180.8 kB / 487.4 MB, free: 5.062 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.43/1.43, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 95.91 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.254e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2478, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8276/1.075, allocations: 153.3 MB / 1.356 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/1.076, allocations: 74.06 kB / 1.356 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04868/1.124, allocations: 21.33 MB / 1.377 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.274e-06/1.124, allocations: 3.875 kB / 1.377 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.592e-05/1.125, allocations: 38.84 kB / 1.377 GB, free: 31 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.003173/1.128, allocations: 1.537 MB / 1.378 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.128, allocations: 15.25 kB / 1.378 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003891/1.128, allocations: 174.2 kB / 1.378 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/1.13, allocations: 0.9334 MB / 1.379 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/1.13, allocations: 53.95 kB / 1.379 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/1.13, allocations: 92.66 kB / 1.379 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001356/1.131, allocations: 0.8396 MB / 1.38 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/1.133, allocations: 1.063 MB / 1.381 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.133, allocations: 3.938 kB / 1.381 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-05/1.133, allocations: 3.812 kB / 1.381 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/1.133, allocations: 34.78 kB / 1.381 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004487/1.138, allocations: 3.469 MB / 1.385 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/1.139, allocations: 0.9236 MB / 1.386 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/1.139, allocations: 345.7 kB / 1.386 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.405e-05/1.139, allocations: 12.19 kB / 1.386 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005916/1.14, allocations: 472.9 kB / 1.386 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=96): time 2.756e-06/1.14, allocations: 0 / 1.386 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=96): time 0.00095/1.141, allocations: 0.6504 MB / 1.387 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/1.141, allocations: 218 kB / 1.387 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/1.142, allocations: 0.5563 MB / 1.388 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.222e-05/1.142, allocations: 40.23 kB / 1.388 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/1.142, allocations: 0.6032 MB / 1.388 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.142, allocations: 286.9 kB / 1.389 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/1.142, allocations: 3.875 kB / 1.389 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.142, allocations: 342.2 kB / 1.389 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/1.143, allocations: 318 kB / 1.389 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/1.143, allocations: 498.5 kB / 1.39 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/1.144, allocations: 329.7 kB / 1.39 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/1.144, allocations: 7.953 kB / 1.39 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001342/1.145, allocations: 0.8684 MB / 1.391 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002094/1.146, allocations: 0.515 MB / 1.392 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.146, allocations: 0 / 1.392 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.146, allocations: 7.828 kB / 1.392 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/1.146, allocations: 180.8 kB / 1.392 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.146, allocations: 7.828 kB / 1.392 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008884/1.147, allocations: 187.5 kB / 1.392 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/1.147, allocations: 37.14 kB / 1.392 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/1.147, allocations: 3.938 kB / 1.392 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/1.148, allocations: 0.7608 MB / 1.393 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/1.148, allocations: 0 / 1.393 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/1.148, allocations: 3.75 kB / 1.393 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/1.149, allocations: 162.1 kB / 1.393 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.149, allocations: 3.844 kB / 1.393 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007611/1.15, allocations: 179.7 kB / 1.393 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/1.15, allocations: 38.27 kB / 1.393 GB, free: 24.34 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.0001855/1.15, allocations: 138.3 kB / 1.393 GB, free: 24.22 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008316/1.151, allocations: 0.6392 MB / 1.394 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/1.151, allocations: 89.61 kB / 1.394 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/1.152, allocations: 0.7309 MB / 1.395 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/1.152, allocations: 15.48 kB / 1.395 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.152, allocations: 0 / 1.395 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.152, allocations: 7.984 kB / 1.395 GB, free: 23.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/1.154, allocations: 1.884 MB / 1.396 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.154, allocations: 3.953 kB / 1.396 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/1.155, allocations: 165.9 kB / 1.397 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.155, allocations: 3.844 kB / 1.397 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/1.155, allocations: 11.67 kB / 1.397 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/1.155, allocations: 3.844 kB / 1.397 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.155, allocations: 0 / 1.397 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/1.156, allocations: 1.254 MB / 1.398 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/1.156, allocations: 181.6 kB / 1.398 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.156, allocations: 15.06 kB / 1.398 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/1.157, allocations: 73.91 kB / 1.398 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/1.157, allocations: 126.7 kB / 1.398 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/1.157, allocations: 31.98 kB / 1.398 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003584/1.158, allocations: 406.8 kB / 1.399 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.158, allocations: 0 / 1.399 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008716/1.159, allocations: 471.5 kB / 1.399 GB, free: 22.22 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.001754/1.16, allocations: 2.122 MB / 1.401 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00159/1.162, allocations: 1.49 MB / 1.403 GB, free: 20.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.162, allocations: 0.5625 kB / 1.403 GB, free: 20.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004188/1.162, allocations: 377.7 kB / 1.403 GB, free: 20.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/1.163, allocations: 146.7 kB / 1.403 GB, free: 20.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/1.166, allocations: 1.621 MB / 1.405 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/1.166, allocations: 1.152 MB / 1.406 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007275/1.167, allocations: 166.2 kB / 1.406 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/1.167, allocations: 0.4949 MB / 1.407 GB, free: 18.87 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/1.167, allocations: 3.75 kB / 1.407 GB, free: 18.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04116/1.208, allocations: 20.71 MB / 1.427 GB, free: 276 kB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/1.209, allocations: 215.5 kB / 1.427 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/3.937, allocations: 0 / 1.427 GB, free: 15.98 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