Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001614/0.001614, allocations: 119.9 kB / 17.13 MB, free: 5.758 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.001782/0.001782, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.435/1.435, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 59.91 kB / 1.057 GB, free: 2.047 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3231, allocations: 160.7 MB / 1.214 GB, free: 1.023 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005833/0.329, allocations: 4.044 MB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000226/0.3292, allocations: 167.4 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.3292, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.626e-05/0.3293, allocations: 0 / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.951e-05/0.3294, allocations: 11.92 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.3298, allocations: 83.69 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.763e-05/0.3299, allocations: 27.91 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.3299, allocations: 12 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.841e-05/0.33, allocations: 23.84 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.33, allocations: 7.984 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.33, allocations: 4 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.3302, allocations: 55.81 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.3303, allocations: 7.984 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.3303, allocations: 15.92 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.3305, allocations: 35.91 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3305, allocations: 0 / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3305, allocations: 0 / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3305, allocations: 4 kB / 1.218 GB, free: 12.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004433/0.3309, allocations: 335.4 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.3309, allocations: 11.97 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.331, allocations: 8.922 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3311, allocations: 160.4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.3312, allocations: 30.27 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3312, allocations: 4.375 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.3313, allocations: 45.56 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3313, allocations: 4 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3313, allocations: 0 / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.3314, allocations: 7.984 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.3314, allocations: 12 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.3319, allocations: 338 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.796e-05/0.3319, allocations: 18.52 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.332, allocations: 4.859 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.3321, allocations: 93.16 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3321, allocations: 30.56 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3321, allocations: 0 / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.3322, allocations: 37.7 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3323, allocations: 59.33 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.3324, allocations: 97.86 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3324, allocations: 25.7 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.3324, allocations: 100.1 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.3325, allocations: 3.984 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.3325, allocations: 21.67 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3326, allocations: 314.8 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.3327, allocations: 4 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.3327, allocations: 21.7 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.3327, allocations: 25.72 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3327, allocations: 0 / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.121e-05/0.3328, allocations: 53.62 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3328, allocations: 4 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3328, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3328, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.3329, allocations: 8 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.3329, allocations: 0 / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.3329, allocations: 0 / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.3329, allocations: 4.062 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 9.004e-05/0.333, allocations: 125.7 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.333, allocations: 0 / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.3332, allocations: 120.8 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-05/0.3333, allocations: 180.2 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.531e-05/0.3333, allocations: 188.2 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.348e-05/0.3334, allocations: 180.3 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.3337, allocations: 409.1 kB / 1.221 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.387e-05/0.3337, allocations: 101 kB / 1.221 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.3338, allocations: 101 kB / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.3339, allocations: 184.5 kB / 1.222 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.334, allocations: 188.2 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-05/0.334, allocations: 180.2 kB / 1.222 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.258e-05/0.3341, allocations: 180.2 kB / 1.222 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.3343, allocations: 311.7 kB / 1.223 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3344, allocations: 194.1 kB / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.439e-05/0.3345, allocations: 180.2 kB / 1.223 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.3346, allocations: 105 kB / 1.223 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.3347, allocations: 188.2 kB / 1.223 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.3348, allocations: 104.9 kB / 1.223 GB, free: 7 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.222e-05/0.3348, allocations: 83.28 kB / 1.223 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3348, allocations: 4 kB / 1.223 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002407/0.3351, allocations: 15.94 kB / 1.223 GB, free: 6.898 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003006/0.3354, allocations: 206.4 kB / 1.224 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.535e-05/0.3355, allocations: 19.86 kB / 1.224 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3355, allocations: 0 / 1.224 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-06/0.3355, allocations: 4 kB / 1.224 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3359, allocations: 455.8 kB / 1.224 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.3362, allocations: 203.7 kB / 1.224 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3365, allocations: 0.6729 MB / 1.225 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.3365, allocations: 11.44 kB / 1.225 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3365, allocations: 4 kB / 1.225 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of Templates: time 0.002404/0.3389, allocations: 0.746 MB / 1.226 GB, free: 4.527 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.644875063095242]