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.Overrides.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.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides",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.262/2.262, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001693/0.001693, allocations: 179.9 kB / 0.4901 GB, free: 2.262 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.58/1.58, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.001083/0.001083, allocations: 102.8 kB / 0.9396 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.000345, allocations: 10.25 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2453, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.4308, allocations: 151.7 MB / 1.377 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.4311, allocations: 75.94 kB / 1.378 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01697/0.4481, allocations: 6.053 MB / 1.383 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4481, allocations: 0 / 1.383 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.364e-05/0.4482, allocations: 12 kB / 1.383 GB, free: 7.324 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001598/0.4498, allocations: 0.7178 MB / 1.384 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4498, allocations: 8.031 kB / 1.384 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.45, allocations: 86.52 kB / 1.384 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.4501, allocations: 47.44 kB / 1.384 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.4504, allocations: 246.2 kB / 1.385 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.627e-05/0.4505, allocations: 37 kB / 1.385 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.4506, allocations: 44 kB / 1.385 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.4519, allocations: 0.5447 MB / 1.385 GB, free: 5.488 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.4519, allocations: 3.938 kB / 1.385 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.452, allocations: 24 kB / 1.385 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.452, allocations: 12 kB / 1.385 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.4534, allocations: 0.5213 MB / 1.386 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.4555, allocations: 1.298 MB / 1.387 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.4566, allocations: 463.8 kB / 1.387 GB, free: 3.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.4566, allocations: 4 kB / 1.387 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.4567, allocations: 46.89 kB / 1.387 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=40): time 4.649e-06/0.4567, allocations: 4 kB / 1.387 GB, free: 3.027 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40): time 0.002065/0.4588, allocations: 0.7283 MB / 1.388 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.4589, allocations: 106.8 kB / 1.388 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.4592, allocations: 271.5 kB / 1.389 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.4592, allocations: 33.7 kB / 1.389 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.4594, allocations: 212.6 kB / 1.389 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.4595, allocations: 114.3 kB / 1.389 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.4596, allocations: 12 kB / 1.389 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4597, allocations: 342.8 kB / 1.389 GB, free: 1.172 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/0.4603, allocations: 212.5 kB / 1.389 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.4609, allocations: 247.7 kB / 1.39 GB, free: 0.7109 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/0.4615, allocations: 189 kB / 1.39 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4615, allocations: 4 kB / 1.39 GB, free: 0.5234 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001268/0.4627, allocations: 0.503 MB / 1.39 GB, free: 16 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4628, allocations: 8 kB / 1.39 GB, free: 8 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4628, allocations: 4 kB / 1.39 GB, free: 4 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4628, allocations: 3.953 kB / 1.39 GB, free: 0 / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.4634, allocations: 107.8 kB / 1.39 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.4634, allocations: 4 kB / 1.39 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.4638, allocations: 75.62 kB / 1.39 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.4638, allocations: 12 kB / 1.391 GB, free: 15.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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.0002236/0.464, allocations: 166.6 kB / 1.391 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.4641, allocations: 31.62 kB / 1.391 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.398e-05/0.4642, allocations: 42.36 kB / 1.391 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4642, allocations: 7.953 kB / 1.391 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4642, allocations: 3.984 kB / 1.391 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4643, allocations: 4 kB / 1.391 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/0.4649, allocations: 489 kB / 1.391 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.465, allocations: 0 / 1.391 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.4654, allocations: 107.8 kB / 1.391 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4655, allocations: 4 kB / 1.391 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.4655, allocations: 11.98 kB / 1.391 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.4655, allocations: 7.938 kB / 1.391 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4655, allocations: 3.953 kB / 1.391 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.4669, allocations: 0.7818 MB / 1.392 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.467, allocations: 120.6 kB / 1.392 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.4671, allocations: 15.95 kB / 1.392 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.4675, allocations: 63.94 kB / 1.392 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.4677, allocations: 59.92 kB / 1.392 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.4677, allocations: 12 kB / 1.392 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002093/0.4679, allocations: 207.1 kB / 1.393 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4679, allocations: 3.938 kB / 1.393 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000434/0.4684, allocations: 75.84 kB / 1.393 GB, free: 13.52 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.oveFloSet,ove.forZerFlo.y,ove.forMinFlo.y,ove.cooMax.u,ove.forMinFlo1.y,ove.or1.u1,ove.or1.y,ove.oveCooDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y,ove.oveHeaDamPos,ove.intEqu2.y,ove.cloDam1.u,ove.or4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001887/0.4703, allocations: 1.498 MB / 1.394 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.4716, allocations: 0.4929 MB / 1.395 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4716, allocations: 0 / 1.395 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007057/0.4723, allocations: 299.6 kB / 1.395 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.4727, allocations: 36.62 kB / 1.395 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.4771, allocations: 2.632 MB / 1.397 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.4775, allocations: 0.8197 MB / 1.398 GB, free: 7.613 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002136/0.4777, allocations: 34.28 kB / 1.398 GB, free: 7.582 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.478, allocations: 143.4 kB / 1.398 GB, free: 7.441 MB / 0.9011 GB Notification: Performance of SimCode: time 3.91e-07/0.478, allocations: 4 kB / 1.398 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.4983, allocations: 7.103 MB / 1.405 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.4986, allocations: 269 kB / 1.406 GB, free: 268 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/2.505, allocations: 5.828 kB / 1.406 GB, free: 264 kB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.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.Overrides_res.mat does not exist to compare? outputFormat=mat