Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.247/2.247, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001039/0.001039, allocations: 176.8 kB / 487.4 MB, free: 5.043 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.633/1.633, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.001154/0.001154, allocations: 103.6 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.097e-05/4.105e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3264, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.395, allocations: 151.1 MB / 1.354 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/1.396, allocations: 84.27 kB / 1.354 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04061/1.436, allocations: 14.95 MB / 1.368 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.868e-06/1.436, allocations: 0 / 1.368 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.568e-06/1.436, allocations: 7.781 kB / 1.368 GB, free: 33.1 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008455/1.437, allocations: 435.8 kB / 1.369 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.595e-05/1.437, allocations: 11.66 kB / 1.369 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/1.437, allocations: 11.62 kB / 1.369 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/1.437, allocations: 170.9 kB / 1.369 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/1.437, allocations: 7.781 kB / 1.369 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/1.437, allocations: 11.58 kB / 1.369 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002903/1.438, allocations: 159.5 kB / 1.369 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/1.438, allocations: 202.4 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/1.438, allocations: 2.766 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/1.438, allocations: 3.875 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.438, allocations: 3.844 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/1.438, allocations: 245.6 kB / 1.369 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/1.439, allocations: 391.5 kB / 1.37 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/1.439, allocations: 167.7 kB / 1.37 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003487/1.44, allocations: 192.2 kB / 1.37 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/1.44, allocations: 44.95 kB / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/1.44, allocations: 0 / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0005733/1.44, allocations: 270.5 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/1.44, allocations: 187.8 kB / 1.371 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/1.44, allocations: 85 kB / 1.371 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/1.44, allocations: 25.7 kB / 1.371 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/1.44, allocations: 80.7 kB / 1.371 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.964e-05/1.44, allocations: 98.08 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/1.441, allocations: 0 / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.441, allocations: 328.4 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.626e-05/1.441, allocations: 79.62 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/1.441, allocations: 130.6 kB / 1.371 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/1.441, allocations: 104.6 kB / 1.372 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.441, allocations: 0 / 1.372 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004385/1.442, allocations: 272.2 kB / 1.372 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.442, allocations: 11.88 kB / 1.372 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.442, allocations: 3.906 kB / 1.372 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.442, allocations: 0 / 1.372 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/1.442, allocations: 54.66 kB / 1.372 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.442, allocations: 6.969 kB / 1.372 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.758e-05/1.442, allocations: 15.56 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/1.442, allocations: 14.22 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001023/1.442, allocations: 108.8 kB / 1.372 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000435/1.443, allocations: 271.9 kB / 1.372 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/1.443, allocations: 18.16 kB / 1.372 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005825/1.443, allocations: 329.1 kB / 1.373 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.443, allocations: 3.844 kB / 1.373 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.443, allocations: 3.812 kB / 1.373 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.443, allocations: 0 / 1.373 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/1.443, allocations: 215.6 kB / 1.373 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.443, allocations: 0 / 1.373 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/1.444, allocations: 63.69 kB / 1.373 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/1.444, allocations: 7.828 kB / 1.373 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/1.444, allocations: 18 kB / 1.373 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/1.444, allocations: 9.938 kB / 1.373 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.444, allocations: 0.5 kB / 1.373 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/1.444, allocations: 381.5 kB / 1.373 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/1.444, allocations: 99.53 kB / 1.373 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/1.444, allocations: 3.875 kB / 1.373 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/1.444, allocations: 3.953 kB / 1.373 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/1.444, allocations: 33.5 kB / 1.373 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/1.444, allocations: 10.56 kB / 1.373 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.997e-05/1.445, allocations: 75.28 kB / 1.374 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-07/1.445, allocations: 0 / 1.374 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006165/1.445, allocations: 101.5 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.0014/1.447, allocations: 1.363 MB / 1.375 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000332/1.447, allocations: 223 kB / 1.375 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.447, allocations: 3.938 kB / 1.375 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/1.447, allocations: 129.3 kB / 1.375 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/1.447, allocations: 12.45 kB / 1.375 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006662/1.448, allocations: 357.1 kB / 1.376 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/1.448, allocations: 0.7136 MB / 1.376 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002241/1.448, allocations: 113 kB / 1.376 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/1.449, allocations: 44.72 kB / 1.376 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.449, allocations: 0 / 1.376 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/1.475, allocations: 3.342 MB / 1.38 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/1.475, allocations: 186 kB / 1.38 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/3.2, allocations: 0 / 1.38 GB, free: 26.88 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat does not exist to compare? outputFormat=mat