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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 215.8 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.082/3.082, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 62.94 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3337, allocations: 180.2 MB / 1.354 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001704/0.3354, allocations: 0.6035 MB / 1.355 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002497/0.3379, allocations: 1.815 MB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.338, allocations: 0 / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.338, allocations: 0 / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.543e-05/0.338, allocations: 3.938 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009274/0.339, allocations: 312.2 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.3391, allocations: 131.8 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.3392, allocations: 7.938 kB / 1.357 GB, free: 5.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.3393, allocations: 47.95 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3394, allocations: 59.92 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3394, allocations: 4 kB / 1.357 GB, free: 4.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.3399, allocations: 360.7 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.34, allocations: 39.89 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.34, allocations: 43.72 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.3404, allocations: 283.2 kB / 1.358 GB, free: 4.199 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3404, allocations: 3.938 kB / 1.358 GB, free: 4.195 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3404, allocations: 0 / 1.358 GB, free: 4.195 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3404, allocations: 0 / 1.358 GB, free: 4.195 MB / 1.045 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.0006361/0.341, allocations: 377.7 kB / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3411, allocations: 12.03 kB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.3411, allocations: 8.891 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.61e-05/0.3412, allocations: 118.2 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3412, allocations: 11.98 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.3413, allocations: 12 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.3416, allocations: 222.6 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3416, allocations: 0 / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.3416, allocations: 8 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3416, allocations: 4 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.3419, allocations: 175.7 kB / 1.359 GB, free: 3.188 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.3422, allocations: 261.2 kB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/0.3429, allocations: 387.7 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.3431, allocations: 157.2 kB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.3434, allocations: 44.95 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3434, allocations: 54.48 kB / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.262e-06/0.3434, allocations: 0 / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.0006682/0.3441, allocations: 385.2 kB / 1.36 GB, free: 1.781 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.3442, allocations: 187.9 kB / 1.36 GB, free: 1.555 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.3442, allocations: 89.86 kB / 1.36 GB, free: 1.457 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.3443, allocations: 33.83 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.3443, allocations: 80.64 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.946e-05/0.3444, allocations: 111.1 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.3445, allocations: 53.69 kB / 1.36 GB, free: 1.164 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3446, allocations: 322.8 kB / 1.361 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3447, allocations: 87.92 kB / 1.361 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3449, allocations: 141.1 kB / 1.361 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.3453, allocations: 258.4 kB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3453, allocations: 4 kB / 1.361 GB, free: 332 kB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004334/0.3457, allocations: 293.6 kB / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3457, allocations: 8 kB / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3457, allocations: 0 / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3458, allocations: 4 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.346, allocations: 55.91 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.346, allocations: 4 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.871e-05/0.3461, allocations: 19.88 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.3461, allocations: 12 kB / 1.362 GB, free: 15.93 MB / 1.061 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.0001199/0.3462, allocations: 145.6 kB / 1.362 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.3463, allocations: 15.94 kB / 1.362 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000584/0.3469, allocations: 356.8 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3469, allocations: 11.98 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3469, allocations: 0 / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3469, allocations: 11.92 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.3471, allocations: 229 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3471, allocations: 0 / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.3473, allocations: 51.97 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3473, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.3474, allocations: 19.98 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3474, allocations: 7.875 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3474, allocations: 4 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.3478, allocations: 349.7 kB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.521e-05/0.3479, allocations: 43.8 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.348, allocations: 8 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.348, allocations: 8 kB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.3481, allocations: 23.95 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.3481, allocations: 19.92 kB / 1.363 GB, free: 14.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.3482, allocations: 75.28 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3482, allocations: 4 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003748/0.3485, allocations: 95.8 kB / 1.363 GB, free: 14.39 MB / 1.061 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.0003774/0.3489, allocations: 198.9 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003928/0.3493, allocations: 247.8 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3493, allocations: 0 / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.3495, allocations: 124.8 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.3497, allocations: 18.23 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.3502, allocations: 388.5 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.3505, allocations: 0.7163 MB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.3506, allocations: 35.41 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3506, allocations: 0 / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of Templates: time 0.004977/0.3556, allocations: 3.015 MB / 1.368 GB, free: 9.578 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.682467871985864]