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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 108.5 kB / 16.37 MB, free: 6.473 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.002152/0.002152, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.504/2.504, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 63.41 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.312, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002174/0.3142, allocations: 0.593 MB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.3169, allocations: 1.722 MB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.3169, allocations: 0 / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.317, allocations: 4 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.607e-05/0.3171, allocations: 0 / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.3182, allocations: 303 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.3184, allocations: 135.8 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.3184, allocations: 4 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.3185, allocations: 51.95 kB / 1.022 GB, free: 7.035 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.3187, allocations: 55.86 kB / 1.022 GB, free: 6.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.3187, allocations: 8 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.3193, allocations: 340.1 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.3193, allocations: 39.89 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.3194, allocations: 43.78 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004565/0.3199, allocations: 275.3 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3199, allocations: 3.938 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3199, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3199, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 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.0007479/0.3207, allocations: 447.3 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3207, allocations: 8.922 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.3208, allocations: 12.84 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3209, allocations: 164.3 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.3209, allocations: 16.31 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.321, allocations: 16.12 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.3213, allocations: 219.7 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3213, allocations: 0 / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.3214, allocations: 7.938 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3214, allocations: 7.984 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.3217, allocations: 175.8 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.3221, allocations: 286 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.3229, allocations: 407.8 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.3231, allocations: 185.1 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003673/0.3235, allocations: 203.1 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3235, allocations: 46.5 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.794e-06/0.3235, allocations: 0 / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.0006768/0.3242, allocations: 381.2 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.3243, allocations: 191.9 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.769e-05/0.3244, allocations: 97.86 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3244, allocations: 29.7 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.3245, allocations: 80.7 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.903e-05/0.3246, allocations: 106.5 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.3247, allocations: 53.69 kB / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3248, allocations: 322.8 kB / 1.026 GB, free: 2.516 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3249, allocations: 91.92 kB / 1.026 GB, free: 2.426 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.3251, allocations: 142.6 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.3255, allocations: 253 kB / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3255, allocations: 4 kB / 1.026 GB, free: 2 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004587/0.3259, allocations: 293.4 kB / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.326, allocations: 8 kB / 1.026 GB, free: 1.699 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.326, allocations: 0 / 1.026 GB, free: 1.699 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.326, allocations: 8 kB / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.3263, allocations: 55.89 kB / 1.026 GB, free: 1.637 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3263, allocations: 4 kB / 1.026 GB, free: 1.633 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3264, allocations: 15.84 kB / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.3264, allocations: 15.98 kB / 1.026 GB, free: 1.602 MB / 0.795 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.000119/0.3266, allocations: 133.8 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.3266, allocations: 19.75 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006151/0.3272, allocations: 365.4 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3272, allocations: 4 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3273, allocations: 0 / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.3273, allocations: 4 kB / 1.027 GB, free: 1.066 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.3276, allocations: 257.3 kB / 1.027 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3276, allocations: 4 kB / 1.027 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.3278, allocations: 59.89 kB / 1.027 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3278, allocations: 0 / 1.027 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.3278, allocations: 11.98 kB / 1.027 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3279, allocations: 4 kB / 1.027 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.3279, allocations: 4 kB / 1.027 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.3283, allocations: 352.9 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.3285, allocations: 112.9 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.3285, allocations: 11.98 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.3286, allocations: 8 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.3287, allocations: 23.97 kB / 1.028 GB, free: 136 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.3287, allocations: 15.98 kB / 1.028 GB, free: 120 kB / 0.795 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.3287, allocations: 79.28 kB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3287, allocations: 0 / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004727/0.3292, allocations: 91.92 kB / 1.028 GB, free: 15.95 MB / 0.8106 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.0005734/0.3298, allocations: 213 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.3303, allocations: 252.1 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3303, allocations: 0 / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.3305, allocations: 140.5 kB / 1.028 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.3307, allocations: 19.98 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.3313, allocations: 358.6 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.3316, allocations: 0.7163 MB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002277/0.3318, allocations: 105.4 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/0.3319, allocations: 27.42 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3319, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of Templates: time 0.006035/0.3379, allocations: 2.555 MB / 1.032 GB, free: 11.52 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (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 & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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