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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005379/0.005379, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001483/0.001483, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.472/2.472, allocations: 482.6 MB / 0.755 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 70.09 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.257, allocations: 162.3 MB / 1.242 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001429/0.2585, allocations: 0.5974 MB / 1.242 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.2606, allocations: 1.71 MB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.713e-05/0.2606, allocations: 4 kB / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.2607, allocations: 7.984 kB / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.53e-05/0.2607, allocations: 0 / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007429/0.2614, allocations: 312.4 kB / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.2616, allocations: 131.8 kB / 1.245 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.102e-05/0.2617, allocations: 4 kB / 1.245 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.69e-05/0.2617, allocations: 47.95 kB / 1.245 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.2618, allocations: 63.86 kB / 1.245 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2619, allocations: 4 kB / 1.245 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.2623, allocations: 343.5 kB / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.2624, allocations: 31.92 kB / 1.245 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.2624, allocations: 43.77 kB / 1.245 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.2628, allocations: 279.2 kB / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2628, allocations: 0 / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.915e-06/0.2628, allocations: 0 / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2628, allocations: 3.938 kB / 1.245 GB, free: 5.285 MB / 0.9669 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.0005931/0.2634, allocations: 442.9 kB / 1.246 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2635, allocations: 12.03 kB / 1.246 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.2635, allocations: 50.73 kB / 1.246 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.2635, allocations: 8.891 kB / 1.246 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2637, allocations: 180.2 kB / 1.246 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.2637, allocations: 12.38 kB / 1.246 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.2637, allocations: 15.94 kB / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.264, allocations: 206.7 kB / 1.246 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.264, allocations: 11.88 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.2641, allocations: 12 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2641, allocations: 0 / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.2643, allocations: 175.8 kB / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.2646, allocations: 286.1 kB / 1.247 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.2653, allocations: 407.7 kB / 1.247 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.2656, allocations: 185.2 kB / 1.247 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.2658, allocations: 191.2 kB / 1.247 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.2659, allocations: 42.5 kB / 1.248 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.2659, allocations: 4 kB / 1.248 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.0006259/0.2665, allocations: 394.7 kB / 1.248 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.2666, allocations: 183.9 kB / 1.248 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.2667, allocations: 89.86 kB / 1.248 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.2667, allocations: 33.7 kB / 1.248 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.2667, allocations: 80.7 kB / 1.248 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.122e-05/0.2668, allocations: 111 kB / 1.248 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.2669, allocations: 61.81 kB / 1.248 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.267, allocations: 318.8 kB / 1.249 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.2672, allocations: 87.92 kB / 1.249 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.2674, allocations: 141 kB / 1.249 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.2677, allocations: 265 kB / 1.249 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2677, allocations: 3.938 kB / 1.249 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004134/0.2681, allocations: 289.3 kB / 1.249 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2682, allocations: 4 kB / 1.249 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2682, allocations: 4 kB / 1.249 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2682, allocations: 3.984 kB / 1.249 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.2684, allocations: 59.91 kB / 1.25 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.2684, allocations: 0 / 1.25 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.71e-05/0.2685, allocations: 19.89 kB / 1.25 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.2685, allocations: 11.98 kB / 1.25 GB, free: 0.5469 MB / 0.9669 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.000107/0.2686, allocations: 141.7 kB / 1.25 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.2687, allocations: 7.953 kB / 1.25 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005657/0.2693, allocations: 369.1 kB / 1.25 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.2693, allocations: 4 kB / 1.25 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2693, allocations: 4 kB / 1.25 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2693, allocations: 0 / 1.25 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.2695, allocations: 265.3 kB / 1.25 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2696, allocations: 4 kB / 1.25 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2698, allocations: 59.91 kB / 1.25 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2698, allocations: 4 kB / 1.25 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.2698, allocations: 7.984 kB / 1.25 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2698, allocations: 0 / 1.25 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2698, allocations: 4 kB / 1.25 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.2702, allocations: 353 kB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.896e-05/0.2704, allocations: 120.9 kB / 1.251 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.2704, allocations: 8 kB / 1.251 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.2705, allocations: 8.375 kB / 1.251 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.2705, allocations: 23.97 kB / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.2705, allocations: 11.98 kB / 1.251 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.28e-05/0.2706, allocations: 79.28 kB / 1.251 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2706, allocations: 0 / 1.251 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003221/0.2709, allocations: 95.86 kB / 1.251 GB, free: 14.89 MB / 0.9825 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.001039/0.272, allocations: 0.9903 MB / 1.252 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003789/0.2723, allocations: 251.7 kB / 1.252 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2724, allocations: 0 / 1.252 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.2726, allocations: 143.8 kB / 1.252 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.2727, allocations: 12 kB / 1.252 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006716/0.2734, allocations: 433.4 kB / 1.253 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.2737, allocations: 0.7202 MB / 1.254 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.2739, allocations: 101.4 kB / 1.254 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.274, allocations: 47.41 kB / 1.254 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.274, allocations: 4 kB / 1.254 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.8/5.074, allocations: 4.122 MB / 1.258 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/18.62, allocations: 14.11 kB / 1.258 GB, free: 8.094 MB / 0.9825 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/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=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches