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.221/2.221, allocations: 387.1 MB / 399.7 MB, free: 9.43 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.001064/0.001064, allocations: 180 kB / 492.3 MB, free: 0.625 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.538/1.538, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0009347/0.0009343, allocations: 90.02 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.575e-05/3.577e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3141, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.378, allocations: 151.7 MB / 1.361 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/1.378, allocations: 86.52 kB / 1.361 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0395/1.417, allocations: 15.02 MB / 1.375 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/1.417, allocations: 3.938 kB / 1.375 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.377e-06/1.417, allocations: 0 / 1.375 GB, free: 33.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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007381/1.418, allocations: 432.3 kB / 1.376 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/1.418, allocations: 14.47 kB / 1.376 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/1.418, allocations: 47.56 kB / 1.376 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/1.418, allocations: 11.75 kB / 1.376 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.157e-05/1.418, allocations: 170.9 kB / 1.376 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/1.418, allocations: 6.844 kB / 1.376 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/1.418, allocations: 11.06 kB / 1.376 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/1.419, allocations: 221.4 kB / 1.376 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.419, allocations: 0 / 1.376 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/1.419, allocations: 3.938 kB / 1.376 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/1.419, allocations: 3.844 kB / 1.376 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/1.419, allocations: 180.5 kB / 1.376 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/1.419, allocations: 284.2 kB / 1.377 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/1.42, allocations: 406.9 kB / 1.377 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/1.42, allocations: 178.8 kB / 1.377 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/1.421, allocations: 197.4 kB / 1.377 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/1.421, allocations: 45.09 kB / 1.378 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/1.421, allocations: 0 / 1.378 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.000454/1.421, allocations: 280.5 kB / 1.378 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/1.421, allocations: 186.7 kB / 1.378 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.226e-05/1.421, allocations: 85 kB / 1.378 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/1.421, allocations: 32.45 kB / 1.378 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.486e-05/1.421, allocations: 80.7 kB / 1.378 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/1.421, allocations: 103.9 kB / 1.378 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/1.421, allocations: 2.562 kB / 1.378 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/1.421, allocations: 327.6 kB / 1.379 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/1.422, allocations: 77.75 kB / 1.379 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/1.422, allocations: 139.2 kB / 1.379 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/1.422, allocations: 110.7 kB / 1.379 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.422, allocations: 7.891 kB / 1.379 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003845/1.422, allocations: 284.1 kB / 1.379 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.422, allocations: 8.938 kB / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.422, allocations: 3.906 kB / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/1.422, allocations: 0 / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/1.423, allocations: 65.45 kB / 1.379 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.423, allocations: 3.969 kB / 1.379 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-05/1.423, allocations: 18.66 kB / 1.379 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/1.423, allocations: 14.39 kB / 1.379 GB, free: 31.44 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 8.9e-05/1.423, allocations: 120.4 kB / 1.379 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/1.423, allocations: 19.45 kB / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/1.423, allocations: 350.4 kB / 1.38 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.423, allocations: 7.719 kB / 1.38 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.423, allocations: 0 / 1.38 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/1.423, allocations: 7.891 kB / 1.38 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/1.424, allocations: 250.3 kB / 1.38 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.424, allocations: 0 / 1.38 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/1.424, allocations: 61.55 kB / 1.38 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/1.424, allocations: 3.844 kB / 1.38 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/1.424, allocations: 15.42 kB / 1.38 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.424, allocations: 4.25 kB / 1.38 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.424, allocations: 0 / 1.38 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/1.424, allocations: 398 kB / 1.38 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/1.424, allocations: 96.58 kB / 1.381 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/1.424, allocations: 10.98 kB / 1.381 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/1.425, allocations: 3.125 kB / 1.381 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/1.425, allocations: 26.75 kB / 1.381 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/1.425, allocations: 14.61 kB / 1.381 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.876e-05/1.425, allocations: 75.28 kB / 1.381 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.425, allocations: 3.875 kB / 1.381 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005323/1.425, allocations: 103.6 kB / 1.381 GB, free: 30.49 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.001334/1.427, allocations: 1.397 MB / 1.382 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003601/1.427, allocations: 246.1 kB / 1.382 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.427, allocations: 3.938 kB / 1.382 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/1.427, allocations: 138.8 kB / 1.383 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/1.427, allocations: 10.92 kB / 1.383 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/1.428, allocations: 384.5 kB / 1.383 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/1.428, allocations: 0.7155 MB / 1.384 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002389/1.428, allocations: 103 kB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.033e-05/1.429, allocations: 44.31 kB / 1.384 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/1.429, allocations: 0 / 1.384 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/1.444, allocations: 3.651 MB / 1.387 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/1.444, allocations: 203 kB / 1.387 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/3.181, allocations: 2.109 kB / 1.387 GB, free: 26.29 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