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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 496.2 MB / 0.7819 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 71.89 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9915/0.9935, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00174/0.9952, allocations: 0.6072 MB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.9973, allocations: 1.737 MB / 1.308 GB, free: 31.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.9974, allocations: 4 kB / 1.308 GB, free: 31.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.9974, allocations: 7.266 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.341e-05/0.9974, allocations: 2.5 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.9983, allocations: 307.8 kB / 1.308 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.9984, allocations: 131.1 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.9984, allocations: 2.625 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.928e-05/0.9985, allocations: 48.64 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.9986, allocations: 62.91 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.9986, allocations: 6 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.999, allocations: 341.5 kB / 1.309 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.9991, allocations: 39.7 kB / 1.309 GB, free: 31.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.9991, allocations: 45.44 kB / 1.309 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.9994, allocations: 271.4 kB / 1.309 GB, free: 31.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9994, allocations: 0 / 1.309 GB, free: 31.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9994, allocations: 0 / 1.309 GB, free: 31.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9995, allocations: 2.969 kB / 1.309 GB, free: 31.4 MB / 1.061 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.0006184/1, allocations: 450.6 kB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1, allocations: 9.281 kB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/1, allocations: 11.08 kB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.971e-05/1, allocations: 182.4 kB / 1.31 GB, free: 30.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/1, allocations: 7.5 kB / 1.31 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/1, allocations: 16.12 kB / 1.31 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/1.001, allocations: 219.9 kB / 1.31 GB, free: 30.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.001, allocations: 0 / 1.31 GB, free: 30.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/1.001, allocations: 10.81 kB / 1.31 GB, free: 30.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/1.001, allocations: 2.656 kB / 1.31 GB, free: 30.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/1.001, allocations: 177.1 kB / 1.31 GB, free: 30.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/1.001, allocations: 274.6 kB / 1.31 GB, free: 30.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/1.002, allocations: 386.3 kB / 1.311 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/1.002, allocations: 178 kB / 1.311 GB, free: 30.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003/1.002, allocations: 196.1 kB / 1.311 GB, free: 29.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/1.002, allocations: 41.5 kB / 1.311 GB, free: 29.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/1.002, allocations: 0 / 1.311 GB, free: 29.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.000577/1.003, allocations: 385.7 kB / 1.311 GB, free: 29.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.003, allocations: 193.6 kB / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.167e-05/1.003, allocations: 89.86 kB / 1.312 GB, free: 29.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/1.003, allocations: 32.58 kB / 1.312 GB, free: 29.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.409e-05/1.003, allocations: 84.64 kB / 1.312 GB, free: 29.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/1.003, allocations: 109 kB / 1.312 GB, free: 29.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/1.003, allocations: 55.72 kB / 1.312 GB, free: 29.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.079e-05/1.003, allocations: 324.8 kB / 1.312 GB, free: 28.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/1.003, allocations: 87.06 kB / 1.312 GB, free: 28.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/1.003, allocations: 140.5 kB / 1.312 GB, free: 28.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/1.004, allocations: 266.6 kB / 1.313 GB, free: 28.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.004, allocations: 4 kB / 1.313 GB, free: 28.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000369/1.004, allocations: 286.8 kB / 1.313 GB, free: 28.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.004, allocations: 5.562 kB / 1.313 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.004, allocations: 4.312 kB / 1.313 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.004, allocations: 2.938 kB / 1.313 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/1.004, allocations: 61.22 kB / 1.313 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.004, allocations: 6.906 kB / 1.313 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/1.004, allocations: 18.16 kB / 1.313 GB, free: 28.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/1.004, allocations: 8.562 kB / 1.313 GB, free: 28.42 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 8.17e-05/1.005, allocations: 140.8 kB / 1.313 GB, free: 28.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/1.005, allocations: 17.84 kB / 1.313 GB, free: 28.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/1.005, allocations: 357.5 kB / 1.314 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.005, allocations: 5.5 kB / 1.314 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.005, allocations: 5.734 kB / 1.314 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.005, allocations: 0 / 1.314 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/1.005, allocations: 258.3 kB / 1.314 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.005, allocations: 2.781 kB / 1.314 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/1.005, allocations: 58.3 kB / 1.314 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.005, allocations: 6.719 kB / 1.314 GB, free: 27.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/1.006, allocations: 9.234 kB / 1.314 GB, free: 27.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/1.006, allocations: 7.062 kB / 1.314 GB, free: 27.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.006, allocations: 0 / 1.314 GB, free: 27.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/1.006, allocations: 354.4 kB / 1.314 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.706e-05/1.006, allocations: 116.9 kB / 1.314 GB, free: 27.6 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/1.006, allocations: 9.188 kB / 1.314 GB, free: 27.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/1.006, allocations: 10.47 kB / 1.314 GB, free: 27.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/1.006, allocations: 23.89 kB / 1.314 GB, free: 27.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/1.006, allocations: 10.98 kB / 1.314 GB, free: 27.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.678e-05/1.006, allocations: 77.75 kB / 1.315 GB, free: 27.51 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.006, allocations: 4.094 kB / 1.315 GB, free: 27.51 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003792/1.007, allocations: 97.78 kB / 1.315 GB, free: 27.49 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.0004812/1.007, allocations: 204.6 kB / 1.315 GB, free: 27.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003688/1.007, allocations: 251.8 kB / 1.315 GB, free: 27.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.007, allocations: 0 / 1.315 GB, free: 27.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/1.008, allocations: 129.8 kB / 1.315 GB, free: 27.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/1.008, allocations: 13.25 kB / 1.315 GB, free: 27.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/1.008, allocations: 370.7 kB / 1.316 GB, free: 27.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/1.008, allocations: 0.7108 MB / 1.316 GB, free: 26.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001918/1.009, allocations: 105.5 kB / 1.316 GB, free: 26.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/1.009, allocations: 31.12 kB / 1.316 GB, free: 26.33 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/1.009, allocations: 0 / 1.316 GB, free: 26.33 MB / 1.061 GB Notification: Performance of Templates: time 0.005236/1.014, allocations: 2.649 MB / 1.319 GB, free: 26.11 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.153438955545425]