Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001522/0.001522, allocations: 107.8 kB / 19.71 MB, free: 2.145 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: 217.3 kB / 23.01 MB, free: 4.969 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.611/1.611, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.613/3.613, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002084/0.002084, allocations: 66.05 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.5101, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002206/0.5123, allocations: 0.6022 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003142/0.5154, allocations: 1.733 MB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.5154, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.5155, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.5155, allocations: 3.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.5166, allocations: 309.8 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.5169, allocations: 131.8 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.5169, allocations: 4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.517, allocations: 51.95 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.5171, allocations: 63.84 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.5172, allocations: 8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005928/0.5177, allocations: 343.6 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.649e-05/0.5178, allocations: 39.89 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.5179, allocations: 39.8 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.5183, allocations: 283.3 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5183, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.544e-06/0.5183, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5183, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 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.0008283/0.5192, allocations: 382.6 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.5192, allocations: 11.97 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.5193, allocations: 12.89 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.5194, allocations: 114.4 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.5195, allocations: 8.375 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.5195, allocations: 16.12 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.5199, allocations: 214.6 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.5199, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.5199, allocations: 8 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.52, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.5203, allocations: 171.8 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.5206, allocations: 217.7 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008413/0.5215, allocations: 375.9 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.5217, allocations: 173.1 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/0.5221, allocations: 40.97 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.5221, allocations: 50.34 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 3.767e-06/0.5221, allocations: 3.984 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007461/0.5229, allocations: 389.2 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.523, allocations: 187.9 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.5231, allocations: 93.84 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.5231, allocations: 33.7 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.5231, allocations: 80.64 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.5233, allocations: 103.1 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.5234, allocations: 53.69 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5236, allocations: 327 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.5237, allocations: 83.94 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.5239, allocations: 145.6 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.5243, allocations: 266.4 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5243, allocations: 0 / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004783/0.5248, allocations: 289.7 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5248, allocations: 7.938 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5248, allocations: 0 / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.5248, allocations: 4 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.5251, allocations: 59.89 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.5251, allocations: 0 / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.5252, allocations: 27.78 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.5252, allocations: 12 kB / 1.334 GB, free: 9.117 MB / 1.029 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.0001508/0.5254, allocations: 138.3 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.5254, allocations: 15.89 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006769/0.5261, allocations: 364.8 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.5261, allocations: 7.984 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5261, allocations: 0 / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5262, allocations: 39.86 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.5263, allocations: 11.92 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.5264, allocations: 8 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.5264, allocations: 40.27 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008338/0.5272, allocations: 0.7549 MB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007454/0.528, allocations: 0.8194 MB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001878/0.5282, allocations: 124.2 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.5282, allocations: 79.28 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of Backend: time 1.192e-06/0.5282, allocations: 0 / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.5296, allocations: 303.8 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007222/0.5303, allocations: 0.654 MB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of Templates: time 0.008184/0.5385, allocations: 3.697 MB / 1.341 GB, free: 1.988 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.735838729000534]