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.326/2.326, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001116/0.001116, allocations: 185 kB / 498.1 MB, free: 5.738 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.445/1.445, allocations: 223.1 MB / 0.7948 GB, free: 17.92 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.000894/0.000894, allocations: 95.33 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003488, allocations: 10.44 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2344, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1709/0.4053, allocations: 154 MB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4055, allocations: 79.94 kB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05368/0.4592, allocations: 21.53 MB / 1.395 GB, free: 2.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4593, allocations: 0 / 1.395 GB, free: 2.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.266e-05/0.4593, allocations: 36 kB / 1.395 GB, free: 2.234 MB / 0.8855 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.002877/0.4622, allocations: 1.699 MB / 1.396 GB, free: 472 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4623, allocations: 8.031 kB / 1.396 GB, free: 464 kB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002339/0.4625, allocations: 207.1 kB / 1.396 GB, free: 248 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.4628, allocations: 181.9 kB / 1.397 GB, free: 64 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.4645, allocations: 0.9304 MB / 1.397 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.4646, allocations: 114.8 kB / 1.398 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.4648, allocations: 152 kB / 1.398 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.467, allocations: 1.363 MB / 1.399 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.4671, allocations: 4 kB / 1.399 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.4672, allocations: 60 kB / 1.399 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.4672, allocations: 32 kB / 1.399 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.4692, allocations: 1.069 MB / 1.4 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005739/0.475, allocations: 3.794 MB / 1.404 GB, free: 8.402 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.477, allocations: 1.103 MB / 1.405 GB, free: 7.27 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.477, allocations: 16.98 kB / 1.405 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009883/0.478, allocations: 0.5695 MB / 1.406 GB, free: 6.66 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=96): time 2.495e-06/0.478, allocations: 0 / 1.406 GB, free: 6.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=96): time 0.002267/0.4803, allocations: 1.186 MB / 1.407 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.4804, allocations: 226.6 kB / 1.407 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000968/0.4814, allocations: 0.8305 MB / 1.408 GB, free: 4.348 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/0.4815, allocations: 61.69 kB / 1.408 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/0.482, allocations: 0.5901 MB / 1.408 GB, free: 3.684 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.4822, allocations: 299.8 kB / 1.409 GB, free: 3.387 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.4823, allocations: 19.94 kB / 1.409 GB, free: 3.367 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4824, allocations: 349.9 kB / 1.409 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008137/0.4832, allocations: 409.8 kB / 1.409 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009406/0.4842, allocations: 0.5834 MB / 1.41 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008028/0.485, allocations: 454.2 kB / 1.41 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.485, allocations: 4 kB / 1.41 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002015/0.487, allocations: 1.148 MB / 1.412 GB, free: 352 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002083/0.4873, allocations: 0.5065 MB / 1.412 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4873, allocations: 0 / 1.412 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4873, allocations: 4 kB / 1.412 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.488, allocations: 183.7 kB / 1.412 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.488, allocations: 11.98 kB / 1.412 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009355/0.489, allocations: 238.7 kB / 1.412 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/0.4891, allocations: 39.98 kB / 1.413 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.4891, allocations: 4 kB / 1.413 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001727/0.4908, allocations: 0.9795 MB / 1.413 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4908, allocations: 7.984 kB / 1.413 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.4908, allocations: 12.08 kB / 1.413 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.4915, allocations: 159.7 kB / 1.414 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.557e-06/0.4915, allocations: 8 kB / 1.414 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/0.4923, allocations: 218.8 kB / 1.414 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.4924, allocations: 39.98 kB / 1.414 GB, free: 13.89 MB / 0.9167 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 () * Number of clocked 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.0004915/0.4929, allocations: 385.3 kB / 1.414 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.4931, allocations: 110.6 kB / 1.414 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.4949, allocations: 0.9706 MB / 1.415 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.4949, allocations: 11.95 kB / 1.415 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4949, allocations: 4 kB / 1.415 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4949, allocations: 7.969 kB / 1.415 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.4981, allocations: 2.283 MB / 1.418 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4982, allocations: 4 kB / 1.418 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/0.4988, allocations: 159.8 kB / 1.418 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.4988, allocations: 12.06 kB / 1.418 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.4989, allocations: 23.98 kB / 1.418 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.4989, allocations: 4 kB / 1.418 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4989, allocations: 7.938 kB / 1.418 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.5014, allocations: 1.552 MB / 1.419 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.5016, allocations: 211.5 kB / 1.419 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.5017, allocations: 24 kB / 1.42 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005964/0.5023, allocations: 95.94 kB / 1.42 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.5025, allocations: 116.7 kB / 1.42 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.5026, allocations: 31.98 kB / 1.42 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006979/0.5033, allocations: 0.6349 MB / 1.42 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5033, allocations: 0 / 1.42 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009714/0.5043, allocations: 462.6 kB / 1.421 GB, free: 6.645 MB / 0.9167 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) * Number of clocked states: 0 () * 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.002916/0.5072, allocations: 2.446 MB / 1.423 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00298/0.5102, allocations: 1.73 MB / 1.425 GB, free: 2.363 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.5102, allocations: 0 / 1.425 GB, free: 2.363 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000877/0.5111, allocations: 466 kB / 1.425 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.5125, allocations: 207.9 kB / 1.426 GB, free: 1.707 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4056/0.9181, allocations: 3.774 MB / 1.429 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.9188, allocations: 1.154 MB / 1.43 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006921/0.9195, allocations: 140 kB / 1.43 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/0.9201, allocations: 0.5111 MB / 1.431 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.9201, allocations: 1.312 kB / 1.431 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05288/0.973, allocations: 22.84 MB / 1.453 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.9732, allocations: 242.5 kB / 1.454 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.592, allocations: 1.406 kB / 1.454 GB, free: 182.1 MB / 0.9167 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