Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_latest_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_latest_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",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.397/2.397, allocations: 390.5 MB / 398 MB, free: 10.96 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.001486/0.001486, allocations: 179.6 kB / 491.2 MB, free: 1.59 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.722/1.722, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.00112/0.00112, allocations: 87.95 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.096e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.397, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.598, allocations: 154 MB / 1.363 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004149/1.599, allocations: 81.31 kB / 1.363 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03254/1.631, allocations: 12.02 MB / 1.375 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.304e-06/1.631, allocations: 0 / 1.375 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.22e-05/1.631, allocations: 15.56 kB / 1.375 GB, free: 32.14 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002519/1.634, allocations: 1.024 MB / 1.376 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/1.634, allocations: 11.66 kB / 1.376 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000419/1.634, allocations: 93.06 kB / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/1.635, allocations: 0.4914 MB / 1.376 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/1.636, allocations: 29.58 kB / 1.376 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/1.636, allocations: 42.44 kB / 1.376 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001035/1.637, allocations: 463.7 kB / 1.377 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.638, allocations: 0.6036 MB / 1.377 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/1.638, allocations: 0 / 1.377 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/1.638, allocations: 0 / 1.377 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/1.638, allocations: 22.02 kB / 1.377 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/1.642, allocations: 2.195 MB / 1.379 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/1.643, allocations: 0.5229 MB / 1.38 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/1.643, allocations: 262.5 kB / 1.38 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.634e-05/1.643, allocations: 12.17 kB / 1.38 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000504/1.644, allocations: 290.7 kB / 1.381 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.805e-06/1.644, allocations: 0 / 1.381 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0007915/1.645, allocations: 437.3 kB / 1.381 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/1.645, allocations: 140.7 kB / 1.381 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005057/1.645, allocations: 379.6 kB / 1.381 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/1.645, allocations: 29.58 kB / 1.381 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/1.646, allocations: 353.5 kB / 1.382 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/1.646, allocations: 167.4 kB / 1.382 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/1.646, allocations: 3.812 kB / 1.382 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.646, allocations: 367.4 kB / 1.382 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/1.646, allocations: 162.3 kB / 1.382 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/1.647, allocations: 269.4 kB / 1.383 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/1.647, allocations: 170.9 kB / 1.383 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.647, allocations: 0 / 1.383 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000768/1.648, allocations: 0.4979 MB / 1.383 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002184/1.648, allocations: 428.7 kB / 1.384 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.648, allocations: 0 / 1.384 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/1.648, allocations: 3.875 kB / 1.384 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/1.649, allocations: 154.4 kB / 1.384 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.649, allocations: 11.86 kB / 1.384 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/1.649, allocations: 124.9 kB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/1.649, allocations: 21.84 kB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/1.649, allocations: 3.906 kB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006212/1.65, allocations: 399.8 kB / 1.384 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.65, allocations: 3.875 kB / 1.384 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/1.65, allocations: 7.875 kB / 1.384 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/1.65, allocations: 123.5 kB / 1.385 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/1.65, allocations: 7.75 kB / 1.385 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/1.651, allocations: 97.52 kB / 1.385 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/1.651, allocations: 22.97 kB / 1.385 GB, free: 28.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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.0001852/1.651, allocations: 118.8 kB / 1.385 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005986/1.652, allocations: 445.6 kB / 1.385 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/1.652, allocations: 50.25 kB / 1.385 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000709/1.653, allocations: 457.3 kB / 1.386 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.653, allocations: 7.656 kB / 1.386 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.653, allocations: 0 / 1.386 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.653, allocations: 3.984 kB / 1.386 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/1.654, allocations: 1.135 MB / 1.387 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.654, allocations: 0 / 1.387 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/1.655, allocations: 143.7 kB / 1.387 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/1.655, allocations: 7.984 kB / 1.387 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/1.655, allocations: 7.594 kB / 1.387 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.655, allocations: 0 / 1.387 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.655, allocations: 0 / 1.387 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.656, allocations: 0.7818 MB / 1.388 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/1.656, allocations: 134.5 kB / 1.388 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-05/1.656, allocations: 3.906 kB / 1.388 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/1.656, allocations: 83.84 kB / 1.388 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.657, allocations: 57.45 kB / 1.388 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/1.657, allocations: 18.52 kB / 1.388 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003352/1.657, allocations: 290.2 kB / 1.388 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.657, allocations: 0 / 1.388 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007441/1.658, allocations: 246.3 kB / 1.389 GB, free: 26.69 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001432/1.659, allocations: 1.338 MB / 1.39 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001152/1.66, allocations: 0.8728 MB / 1.391 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.66, allocations: 0 / 1.391 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/1.661, allocations: 224.8 kB / 1.391 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/1.661, allocations: 95.11 kB / 1.391 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/1.663, allocations: 0.9079 MB / 1.392 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/1.664, allocations: 0.9336 MB / 1.393 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004697/1.664, allocations: 96.88 kB / 1.393 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/1.665, allocations: 254 kB / 1.393 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.665, allocations: 0 / 1.393 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/1.703, allocations: 11.72 MB / 1.405 GB, free: 18.06 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/1.703, allocations: 164.2 kB / 1.405 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/4.555, allocations: 1.5 kB / 1.405 GB, free: 17.86 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat does not exist to compare? outputFormat=mat