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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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_latest_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_latest_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.008526/0.008526, allocations: 100.9 kB / 15.73 MB, free: 6.027 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.001794/0.001794, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.91 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3244, allocations: 157.4 MB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001635/0.3261, allocations: 0.6008 MB / 1.208 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.3283, allocations: 1.724 MB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.3283, allocations: 0 / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.3284, allocations: 4 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.3284, allocations: 3.938 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008581/0.3293, allocations: 307.5 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.3294, allocations: 131.8 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.3295, allocations: 7.969 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/0.3295, allocations: 47.91 kB / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3297, allocations: 55.92 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.3297, allocations: 4 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.3301, allocations: 343.5 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.3302, allocations: 39.89 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.3303, allocations: 47.72 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.3306, allocations: 275.4 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3306, allocations: 0 / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.328e-06/0.3306, allocations: 0 / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3306, allocations: 3.938 kB / 1.211 GB, free: 5.996 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.0006175/0.3312, allocations: 445.6 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3313, allocations: 12.03 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.3314, allocations: 12.75 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.3315, allocations: 176.3 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3315, allocations: 8.375 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.3315, allocations: 16.12 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.3318, allocations: 220.4 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3319, allocations: 0 / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.3319, allocations: 12 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3319, allocations: 0 / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.3322, allocations: 175.8 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.3324, allocations: 286.1 kB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/0.3331, allocations: 407.8 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.3334, allocations: 197 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.3337, allocations: 191.2 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3337, allocations: 38.56 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.3337, allocations: 3.938 kB / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.0006301/0.3343, allocations: 385.2 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.3344, allocations: 191.9 kB / 1.214 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.264e-05/0.3345, allocations: 93.8 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3345, allocations: 33.7 kB / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.3345, allocations: 80.7 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.993e-05/0.3346, allocations: 102.4 kB / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/0.3347, allocations: 57.69 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.3348, allocations: 323 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3349, allocations: 91.92 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.3351, allocations: 134.6 kB / 1.215 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.3354, allocations: 257 kB / 1.215 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3355, allocations: 7.938 kB / 1.215 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004167/0.3359, allocations: 297.4 kB / 1.215 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3359, allocations: 4 kB / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3359, allocations: 4 kB / 1.215 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3359, allocations: 0 / 1.215 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.3362, allocations: 59.89 kB / 1.215 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3362, allocations: 0 / 1.215 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.903e-05/0.3363, allocations: 19.84 kB / 1.215 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.3363, allocations: 15.98 kB / 1.215 GB, free: 1.316 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.000103/0.3364, allocations: 137.8 kB / 1.216 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.3364, allocations: 15.83 kB / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005543/0.337, allocations: 364.7 kB / 1.216 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.337, allocations: 4 kB / 1.216 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.337, allocations: 4.562 kB / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.337, allocations: 0 / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.3373, allocations: 253.4 kB / 1.216 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3373, allocations: 0 / 1.216 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.3375, allocations: 63.89 kB / 1.216 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3375, allocations: 8 kB / 1.216 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3375, allocations: 8 kB / 1.216 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3376, allocations: 3.984 kB / 1.216 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3376, allocations: 7.938 kB / 1.216 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.338, allocations: 349.1 kB / 1.217 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3381, allocations: 112.9 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3381, allocations: 11.98 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.3382, allocations: 8 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.3383, allocations: 23.91 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3383, allocations: 12 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.3383, allocations: 79.27 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3383, allocations: 4.094 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003536/0.3387, allocations: 99.88 kB / 1.217 GB, free: 15.66 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.0004514/0.3392, allocations: 212.5 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003957/0.3396, allocations: 252.2 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3396, allocations: 0 / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.3398, allocations: 144.7 kB / 1.217 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.3399, allocations: 13.72 kB / 1.217 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.3405, allocations: 358.6 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.3407, allocations: 0.7124 MB / 1.219 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.3409, allocations: 109.4 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.341, allocations: 27.42 kB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.341, allocations: 4 kB / 1.219 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of Templates: time 0.005438/0.3464, allocations: 2.579 MB / 1.221 GB, free: 11.2 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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