Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001489/0.001489, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001868/0.001868, allocations: 190.6 kB / 22.1 MB, free: 4.223 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.538/1.538, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.992/2.992, allocations: 495.8 MB / 0.783 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.89 kB / 1.137 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215/1.217, allocations: 173.6 MB / 1.307 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007204/1.224, allocations: 4.059 MB / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002609/1.224, allocations: 151 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/1.225, allocations: 0 / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/1.225, allocations: 6.812 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/1.225, allocations: 16.86 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/1.225, allocations: 78.33 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/1.225, allocations: 38.53 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/1.225, allocations: 5.797 kB / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/1.225, allocations: 19.08 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/1.225, allocations: 13.2 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/1.226, allocations: 1.969 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/1.226, allocations: 49.42 kB / 1.311 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/1.226, allocations: 8.656 kB / 1.311 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/1.226, allocations: 8.969 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/1.226, allocations: 41.53 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.226, allocations: 3.938 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.685e-06/1.226, allocations: 3.938 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.064e-05/1.226, allocations: 9.031 kB / 1.311 GB, free: 13.75 MB / 1.014 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.0004906/1.227, allocations: 260.3 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.227, allocations: 8.656 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/1.227, allocations: 2.875 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/1.227, allocations: 109.7 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/1.227, allocations: 27.52 kB / 1.312 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/1.227, allocations: 1.438 kB / 1.312 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/1.227, allocations: 51.48 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.227, allocations: 1.828 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.227, allocations: 0 / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/1.227, allocations: 1.25 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.532e-05/1.227, allocations: 17.03 kB / 1.312 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/1.228, allocations: 226 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.415e-05/1.228, allocations: 25.72 kB / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/1.228, allocations: 14.36 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/1.228, allocations: 6.891 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/1.228, allocations: 32.42 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.228, allocations: 0 / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.000191/1.228, allocations: 37.59 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/1.228, allocations: 56.2 kB / 1.312 GB, free: 12.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.228, allocations: 99.8 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/1.228, allocations: 29.83 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/1.228, allocations: 93.28 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/1.228, allocations: 6.594 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/1.228, allocations: 14.23 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.229, allocations: 320.1 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/1.229, allocations: 3.016 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/1.229, allocations: 15.53 kB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.023e-05/1.229, allocations: 28.44 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.229, allocations: 1.844 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.54e-05/1.229, allocations: 45.14 kB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.229, allocations: 5.031 kB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.229, allocations: 5.188 kB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.229, allocations: 2.188 kB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/1.229, allocations: 8.281 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.229, allocations: 1.875 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/1.229, allocations: 5.594 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/1.229, allocations: 1.344 kB / 1.313 GB, free: 12.2 MB / 1.014 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 0.0001107/1.229, allocations: 118.7 kB / 1.313 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/1.229, allocations: 2.125 kB / 1.313 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/1.229, allocations: 121.5 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.661e-05/1.229, allocations: 185.6 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.705e-05/1.229, allocations: 182.1 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.716e-05/1.229, allocations: 186.1 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/1.23, allocations: 383.9 kB / 1.314 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-05/1.23, allocations: 102.7 kB / 1.314 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/1.23, allocations: 106.8 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.393e-05/1.23, allocations: 182.1 kB / 1.314 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.955e-05/1.23, allocations: 186.2 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.691e-05/1.23, allocations: 178.5 kB / 1.314 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.359e-05/1.23, allocations: 176.8 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/1.23, allocations: 322.5 kB / 1.315 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/1.23, allocations: 107.1 kB / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/1.231, allocations: 179.7 kB / 1.315 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/1.231, allocations: 104.7 kB / 1.315 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.231, allocations: 182.8 kB / 1.315 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/1.231, allocations: 102.1 kB / 1.316 GB, free: 9.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.447e-05/1.231, allocations: 94.33 kB / 1.316 GB, free: 8.934 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.231, allocations: 0 / 1.316 GB, free: 8.934 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000279/1.231, allocations: 11.66 kB / 1.316 GB, free: 8.934 MB / 1.014 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.0003377/1.232, allocations: 198.3 kB / 1.316 GB, free: 8.766 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.119e-05/1.232, allocations: 16.22 kB / 1.316 GB, free: 8.758 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.232, allocations: 0 / 1.316 GB, free: 8.758 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/1.232, allocations: 4.125 kB / 1.316 GB, free: 8.754 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/1.232, allocations: 459.1 kB / 1.316 GB, free: 8.309 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/1.233, allocations: 187.5 kB / 1.317 GB, free: 8.121 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/1.233, allocations: 0.6745 MB / 1.317 GB, free: 7.426 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.561e-05/1.233, allocations: 10.27 kB / 1.317 GB, free: 7.422 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/1.233, allocations: 9.172 kB / 1.317 GB, free: 7.414 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/1.233, allocations: 0 / 1.317 GB, free: 7.414 MB / 1.014 GB Notification: Performance of Templates: time 0.003642/1.237, allocations: 0.6457 MB / 1.318 GB, free: 7.316 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.814238913357258]