Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.443/2.443, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001685/0.001685, allocations: 187.9 kB / 0.4901 GB, free: 2.258 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.654/1.654, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001092/0.001092, allocations: 100.2 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003951, allocations: 10.38 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3763, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2109/0.5873, allocations: 152.6 MB / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5876, allocations: 91.88 kB / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0445/0.6322, allocations: 15.02 MB / 1.393 GB, free: 1.723 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.885e-06/0.6322, allocations: 0 / 1.393 GB, free: 1.723 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.6323, allocations: 4 kB / 1.393 GB, free: 1.719 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000893/0.6332, allocations: 447 kB / 1.393 GB, free: 1.234 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.6332, allocations: 12.56 kB / 1.393 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.155e-05/0.6333, allocations: 38.56 kB / 1.394 GB, free: 1.176 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.6334, allocations: 7.906 kB / 1.394 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.6335, allocations: 182.9 kB / 1.394 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.6335, allocations: 8 kB / 1.394 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.6335, allocations: 8 kB / 1.394 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.6339, allocations: 216.1 kB / 1.394 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.634, allocations: 4 kB / 1.394 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.634, allocations: 4 kB / 1.394 GB, free: 0.6914 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.634, allocations: 7.984 kB / 1.394 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.6343, allocations: 175.8 kB / 1.394 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.6347, allocations: 293.9 kB / 1.394 GB, free: 164 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.6355, allocations: 407.8 kB / 1.395 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003969/0.6359, allocations: 195.3 kB / 1.395 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.636, allocations: 42.48 kB / 1.395 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=30): time 1.914e-06/0.636, allocations: 4 kB / 1.395 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.0007167/0.6367, allocations: 394.5 kB / 1.395 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.6368, allocations: 183.9 kB / 1.396 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.742e-05/0.6369, allocations: 85 kB / 1.396 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.6369, allocations: 29.7 kB / 1.396 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.637, allocations: 80.7 kB / 1.396 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.6371, allocations: 98.55 kB / 1.396 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.6371, allocations: 8 kB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6373, allocations: 318.8 kB / 1.396 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.6374, allocations: 95.92 kB / 1.396 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.6376, allocations: 137 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.6378, allocations: 111.8 kB / 1.396 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6378, allocations: 0 / 1.396 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004449/0.6382, allocations: 289.6 kB / 1.397 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.6383, allocations: 4 kB / 1.397 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6383, allocations: 4 kB / 1.397 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.6383, allocations: 4 kB / 1.397 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.6386, allocations: 63.89 kB / 1.397 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.6386, allocations: 0 / 1.397 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.6387, allocations: 19.78 kB / 1.397 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.6388, allocations: 11.98 kB / 1.397 GB, free: 13.43 MB / 0.9011 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 () * Number of clocked 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.0001367/0.6389, allocations: 141.7 kB / 1.397 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.639, allocations: 15.81 kB / 1.397 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005963/0.6396, allocations: 361.3 kB / 1.397 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.6396, allocations: 4 kB / 1.397 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6396, allocations: 4 kB / 1.397 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.6396, allocations: 0 / 1.397 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.6399, allocations: 253.3 kB / 1.398 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.6399, allocations: 11.95 kB / 1.398 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.6401, allocations: 59.89 kB / 1.398 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.6401, allocations: 4 kB / 1.398 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.6402, allocations: 8 kB / 1.398 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.6402, allocations: 11.98 kB / 1.398 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6402, allocations: 0 / 1.398 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006343/0.6409, allocations: 393.7 kB / 1.398 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.6409, allocations: 92.95 kB / 1.398 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.641, allocations: 7.953 kB / 1.398 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.76e-05/0.6411, allocations: 4 kB / 1.398 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.6411, allocations: 23.97 kB / 1.398 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.6412, allocations: 15.98 kB / 1.398 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.606e-05/0.6412, allocations: 79.28 kB / 1.398 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6412, allocations: 0 / 1.398 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007313/0.642, allocations: 111.9 kB / 1.398 GB, free: 11.71 MB / 0.9011 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 () * Number of clocked 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.002251/0.6442, allocations: 1.404 MB / 1.4 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005172/0.6448, allocations: 244.7 kB / 1.4 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.6448, allocations: 0 / 1.4 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.645, allocations: 139.8 kB / 1.4 GB, free: 9.875 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.6452, allocations: 11.94 kB / 1.4 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.6464, allocations: 477.7 kB / 1.401 GB, free: 9.34 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.6468, allocations: 0.7166 MB / 1.401 GB, free: 8.598 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002876/0.6471, allocations: 113.4 kB / 1.401 GB, free: 8.484 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.6473, allocations: 39.42 kB / 1.401 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of SimCode: time 5.01e-07/0.6473, allocations: 0 / 1.401 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.6677, allocations: 3.605 MB / 1.405 GB, free: 5.016 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.668, allocations: 241.3 kB / 1.405 GB, free: 4.773 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.535, allocations: 4 kB / 1.405 GB, free: 4.77 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat does not exist to compare? outputFormat=mat