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.00212/0.00212, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 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.002952/0.002952, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.258 MB / 186.7 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.275/3.275, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.324e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001585/0.001609, allocations: 0.6112 MB / 0.8782 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002869/0.004478, allocations: 1.736 MB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.004497, allocations: 0 / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.004537, allocations: 3.938 kB / 0.8799 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.004567, allocations: 3.984 kB / 0.8799 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.005567, allocations: 306.9 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.005769, allocations: 137.3 kB / 0.8804 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.207e-05/0.005802, allocations: 3.984 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.005925, allocations: 63.92 kB / 0.8804 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.006042, allocations: 55.92 kB / 0.8805 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.006066, allocations: 5.125 kB / 0.8805 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006244/0.006691, allocations: 335.4 kB / 0.8808 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.006749, allocations: 39.89 kB / 0.8808 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.00681, allocations: 28.55 kB / 0.8809 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.007373, allocations: 363 kB / 0.8812 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.007376, allocations: 0 / 0.8812 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.62e-07/0.007377, allocations: 0 / 0.8812 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.007381, allocations: 0 / 0.8812 GB, free: 2.797 MB / 0.8386 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.0007483/0.008129, allocations: 369.7 kB / 0.8816 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.008165, allocations: 8.031 kB / 0.8816 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.417e-05/0.00825, allocations: 20.89 kB / 0.8816 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.008382, allocations: 113.7 kB / 0.8817 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.008402, allocations: 12.38 kB / 0.8817 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.008431, allocations: 15.94 kB / 0.8817 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.008826, allocations: 219.9 kB / 0.8819 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.008836, allocations: 0 / 0.8819 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.008857, allocations: 4 kB / 0.8819 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.008865, allocations: 4 kB / 0.8819 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.009182, allocations: 179.7 kB / 0.8821 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.009527, allocations: 213.8 kB / 0.8823 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/0.01038, allocations: 387.8 kB / 0.8827 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.01064, allocations: 165.2 kB / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.01089, allocations: 48.91 kB / 0.8829 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.01106, allocations: 46.5 kB / 0.8829 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.383e-06/0.01106, allocations: 0 / 0.8829 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0008077/0.01186, allocations: 398.6 kB / 0.8833 GB, free: 440 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.012, allocations: 183.9 kB / 0.8835 GB, free: 212 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.58e-05/0.01208, allocations: 97.8 kB / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.01212, allocations: 29.7 kB / 0.8836 GB, free: 68 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.01218, allocations: 84.77 kB / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.01231, allocations: 111 kB / 0.8838 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.0124, allocations: 57.69 kB / 0.8839 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.01259, allocations: 322.8 kB / 0.8842 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.01275, allocations: 83.92 kB / 0.8842 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.01297, allocations: 146.1 kB / 0.8844 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.01342, allocations: 260.9 kB / 0.8846 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.01343, allocations: 4 kB / 0.8846 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005592/0.01399, allocations: 297.3 kB / 0.8849 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.014, allocations: 8 kB / 0.8849 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.01401, allocations: 0 / 0.8849 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.01403, allocations: 8 kB / 0.8849 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.0143, allocations: 59.89 kB / 0.885 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.01431, allocations: 4 kB / 0.885 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01442, allocations: 19.84 kB / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.01445, allocations: 11.98 kB / 0.885 GB, free: 14.56 MB / 0.8542 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.0001391/0.01459, allocations: 133.8 kB / 0.8852 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.01465, allocations: 23.89 kB / 0.8852 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/0.01538, allocations: 361.4 kB / 0.8855 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.01539, allocations: 11.94 kB / 0.8855 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01539, allocations: 4 kB / 0.8855 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.0154, allocations: 0 / 0.8855 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.01565, allocations: 185.1 kB / 0.8857 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.01566, allocations: 4 kB / 0.8857 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.01591, allocations: 55.95 kB / 0.8858 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.01592, allocations: 11.88 kB / 0.8858 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.01594, allocations: 7.984 kB / 0.8858 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.01595, allocations: 4 kB / 0.8858 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.01595, allocations: 3.984 kB / 0.8858 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.01654, allocations: 345.2 kB / 0.8861 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.92e-05/0.01664, allocations: 47.8 kB / 0.8862 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.01667, allocations: 11.94 kB / 0.8862 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01677, allocations: 8 kB / 0.8862 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.01683, allocations: 27.95 kB / 0.8862 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.01685, allocations: 12.25 kB / 0.8862 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.641e-05/0.0169, allocations: 75.28 kB / 0.8863 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.0169, allocations: 0 / 0.8863 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004289/0.01732, allocations: 103.8 kB / 0.8864 GB, free: 13.07 MB / 0.8542 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.0004396/0.01776, allocations: 218.9 kB / 0.8866 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.01823, allocations: 243.8 kB / 0.8868 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01824, allocations: 0 / 0.8868 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.01845, allocations: 131.8 kB / 0.887 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.01865, allocations: 21.97 kB / 0.887 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.0193, allocations: 353.8 kB / 0.8873 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.01942, allocations: 99.8 kB / 0.8874 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002484/0.01966, allocations: 105.4 kB / 0.8875 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/0.01974, allocations: 28.48 kB / 0.8875 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of SimCode: time 3.8e-07/0.01974, allocations: 4 kB / 0.8876 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.006516/0.02626, allocations: 2.548 MB / 0.89 GB, free: 9.281 MB / 0.8542 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/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: 8.269450576044619]