Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00543/0.00543, allocations: 101.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 190.4 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.564/2.564, allocations: 437.1 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3585, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002424/0.361, allocations: 0.6053 MB / 1.167 GB, free: 6.676 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.3638, allocations: 1.725 MB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.3639, allocations: 0 / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.3639, allocations: 4 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.018e-05/0.364, allocations: 3.938 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.3652, allocations: 293.6 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.3654, allocations: 131.8 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.3654, allocations: 4 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.331e-05/0.3655, allocations: 47.95 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.3657, allocations: 67.8 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.3657, allocations: 4 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006291/0.3663, allocations: 339.6 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.3664, allocations: 39.89 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.751e-05/0.3665, allocations: 43.78 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.367, allocations: 275.4 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.367, allocations: 0 / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.854e-06/0.367, allocations: 0 / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.367, allocations: 0 / 1.17 GB, free: 3.707 MB / 0.92 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.0007978/0.3678, allocations: 440.2 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3679, allocations: 16.03 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.3679, allocations: 46.73 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.368, allocations: 12.75 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3681, allocations: 172.3 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3682, allocations: 8.375 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.3682, allocations: 19.88 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.3685, allocations: 223.6 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3686, allocations: 3.938 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.3686, allocations: 8 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3686, allocations: 0 / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.3689, allocations: 175.8 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.3692, allocations: 286 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.3699, allocations: 411.7 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.3702, allocations: 185.1 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003998/0.3706, allocations: 199.2 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3706, allocations: 42.56 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.3706, allocations: 0 / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.0006616/0.3713, allocations: 385.8 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/0.3714, allocations: 183.9 kB / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.3715, allocations: 97.84 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3715, allocations: 37.64 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.3715, allocations: 80.7 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/0.3716, allocations: 102.7 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.3717, allocations: 57.69 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3718, allocations: 318.8 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.372, allocations: 87.94 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.3721, allocations: 133.1 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.3725, allocations: 265.9 kB / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3725, allocations: 0 / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004268/0.3729, allocations: 293.2 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.373, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.373, allocations: 4.375 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.373, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.3732, allocations: 59.91 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3733, allocations: 7.984 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.692e-05/0.3734, allocations: 19.84 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3734, allocations: 12 kB / 1.174 GB, free: 14.97 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.3735, allocations: 141.7 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.3736, allocations: 11.91 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.3741, allocations: 360.7 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.3742, allocations: 4 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3742, allocations: 7.938 kB / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3742, allocations: 3.984 kB / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.3744, allocations: 261.3 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3744, allocations: 0 / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.3747, allocations: 63.89 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3747, allocations: 4 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.3747, allocations: 8 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3747, allocations: 4.375 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3747, allocations: 3.938 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.3752, allocations: 349 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3753, allocations: 112.9 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3753, allocations: 8 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.226e-05/0.3754, allocations: 8 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.3755, allocations: 31.89 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3755, allocations: 12 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.3755, allocations: 75.28 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3755, allocations: 0 / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004128/0.3759, allocations: 99.98 kB / 1.175 GB, free: 13.32 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.3771, allocations: 0.9845 MB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003969/0.3775, allocations: 252.6 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3775, allocations: 0 / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.3777, allocations: 152.5 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.3779, allocations: 14.58 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.3787, allocations: 436.1 kB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.379, allocations: 0.7124 MB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.3792, allocations: 105.4 kB / 1.178 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-05/0.3793, allocations: 47.41 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.3793, allocations: 0 / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.4021, allocations: 4.112 MB / 1.182 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.532/7.934, allocations: 19.88 kB / 1.182 GB, free: 6.5 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches