Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_9_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.341/2.341, 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.001367/0.001368, allocations: 176.6 kB / 487.4 MB, free: 5.047 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.438/1.438, allocations: 221.5 MB / 0.7824 GB, free: 0.8984 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.0009933/0.0009933, allocations: 105.5 kB / 0.9219 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.894e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2701, allocations: 142.3 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.281, allocations: 153.2 MB / 1.356 GB, free: 17.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/1.281, allocations: 81.19 kB / 1.356 GB, free: 17.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03027/1.312, allocations: 12.01 MB / 1.367 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.593e-06/1.312, allocations: 3.844 kB / 1.367 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.918e-05/1.312, allocations: 15.53 kB / 1.367 GB, free: 32.91 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.00227/1.314, allocations: 1.022 MB / 1.368 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.314, allocations: 11.47 kB / 1.368 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/1.315, allocations: 93.22 kB / 1.369 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000896/1.316, allocations: 0.4943 MB / 1.369 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/1.316, allocations: 23.06 kB / 1.369 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/1.316, allocations: 42.5 kB / 1.369 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001009/1.317, allocations: 466.2 kB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/1.318, allocations: 0.6047 MB / 1.37 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/1.318, allocations: 0 / 1.37 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/1.318, allocations: 0 / 1.37 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/1.318, allocations: 19.06 kB / 1.37 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/1.322, allocations: 2.204 MB / 1.372 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/1.323, allocations: 0.5305 MB / 1.373 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/1.323, allocations: 257.4 kB / 1.373 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/1.323, allocations: 4.281 kB / 1.373 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/1.324, allocations: 290.2 kB / 1.373 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 1.954e-06/1.324, allocations: 0 / 1.373 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0007762/1.324, allocations: 438.9 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/1.325, allocations: 140.5 kB / 1.374 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/1.325, allocations: 380.8 kB / 1.374 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/1.325, allocations: 33.52 kB / 1.374 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/1.325, allocations: 350.3 kB / 1.375 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/1.325, allocations: 176.8 kB / 1.375 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/1.325, allocations: 7.844 kB / 1.375 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.326, allocations: 359.7 kB / 1.375 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/1.326, allocations: 164.4 kB / 1.375 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/1.326, allocations: 259.7 kB / 1.376 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/1.326, allocations: 189.6 kB / 1.376 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.327, allocations: 0 / 1.376 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007297/1.327, allocations: 0.49 MB / 1.376 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001836/1.327, allocations: 421.2 kB / 1.377 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.327, allocations: 3.812 kB / 1.377 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.327, allocations: 0 / 1.377 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/1.328, allocations: 157.9 kB / 1.377 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.328, allocations: 7.812 kB / 1.377 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/1.329, allocations: 124.9 kB / 1.377 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/1.329, allocations: 23.59 kB / 1.377 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/1.329, allocations: 3.844 kB / 1.377 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005767/1.329, allocations: 404.6 kB / 1.377 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/1.329, allocations: 3.844 kB / 1.377 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.112e-06/1.329, allocations: 3.812 kB / 1.377 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/1.33, allocations: 128.4 kB / 1.377 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/1.33, allocations: 7.781 kB / 1.377 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/1.33, allocations: 96.02 kB / 1.378 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/1.33, allocations: 18.08 kB / 1.378 GB, free: 29.35 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.0001595/1.331, allocations: 129.5 kB / 1.378 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005995/1.331, allocations: 433.4 kB / 1.378 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/1.331, allocations: 58.41 kB / 1.378 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007161/1.332, allocations: 460.1 kB / 1.379 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/1.332, allocations: 7.719 kB / 1.379 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.332, allocations: 0 / 1.379 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/1.332, allocations: 2.766 kB / 1.379 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/1.334, allocations: 1.138 MB / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.334, allocations: 0 / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006073/1.334, allocations: 142.6 kB / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/1.334, allocations: 3.812 kB / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/1.334, allocations: 5.75 kB / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.334, allocations: 7.906 kB / 1.38 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.334, allocations: 0 / 1.38 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.335, allocations: 0.7792 MB / 1.381 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/1.336, allocations: 140.4 kB / 1.381 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/1.336, allocations: 2.297 kB / 1.381 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/1.336, allocations: 81.36 kB / 1.381 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.336, allocations: 51.16 kB / 1.381 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/1.336, allocations: 25.23 kB / 1.381 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000376/1.337, allocations: 289.1 kB / 1.381 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.337, allocations: 0 / 1.381 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009127/1.338, allocations: 247.2 kB / 1.381 GB, free: 28.29 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.001535/1.339, allocations: 1.332 MB / 1.383 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00127/1.34, allocations: 0.877 MB / 1.384 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.34, allocations: 0 / 1.384 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/1.341, allocations: 224.2 kB / 1.384 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/1.341, allocations: 92.02 kB / 1.384 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/1.344, allocations: 0.9215 MB / 1.385 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/1.344, allocations: 0.9331 MB / 1.386 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000527/1.345, allocations: 92.88 kB / 1.386 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/1.345, allocations: 251.6 kB / 1.386 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of SimCode: time 1.773e-06/1.345, allocations: 0 / 1.386 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03858/1.384, allocations: 11.72 MB / 1.397 GB, free: 20.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/1.384, allocations: 158 kB / 1.398 GB, free: 20.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.993, allocations: 0 / 1.398 GB, free: 20.2 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox_res.mat does not exist to compare? outputFormat=mat