Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001811/0.001811, allocations: 92.42 kB / 19.69 MB, free: 2.137 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.001601/0.001601, allocations: 211.3 kB / 23 MB, free: 4.938 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.22/3.22, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [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.002948/0.002948, allocations: 64.06 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3086, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00501/0.3136, allocations: 3.232 MB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.000107/0.3137, allocations: 51.86 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.3137, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.979e-05/0.3138, allocations: 7.875 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.3139, allocations: 15.91 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.3144, allocations: 195.3 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.207e-05/0.3145, allocations: 31.84 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.3145, allocations: 4 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.3146, allocations: 12 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.3146, allocations: 15.91 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3147, allocations: 4 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.3149, allocations: 139.5 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.315, allocations: 7.984 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.315, allocations: 4 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.3153, allocations: 123.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3153, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3153, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3153, allocations: 0 / 1.331 GB, free: 13.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004042/0.3157, allocations: 274.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.3157, allocations: 8.031 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.3157, allocations: 4.875 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.3159, allocations: 118.5 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/0.3159, allocations: 51.97 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.3159, allocations: 384 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3161, allocations: 75.27 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3161, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.3161, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.3161, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.3162, allocations: 15.98 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.3166, allocations: 244.5 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 3.941e-05/0.3167, allocations: 18.52 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.3167, allocations: 8.922 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.3168, allocations: 35.97 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3168, allocations: 30.56 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3168, allocations: 4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.317, allocations: 45.58 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.317, allocations: 51.41 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.3171, allocations: 97.86 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3171, allocations: 25.7 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.3172, allocations: 96.02 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.3172, allocations: 4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.3172, allocations: 13.72 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3174, allocations: 314.8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.3174, allocations: 8 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.3174, allocations: 21.83 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.983e-05/0.3175, allocations: 25.66 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3175, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.732e-05/0.3176, allocations: 41.69 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.3176, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3176, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.3176, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.663e-05/0.3176, allocations: 11.94 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3176, allocations: 4.062 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.3177, allocations: 11.94 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3177, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 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 8.062e-05/0.3177, allocations: 114.3 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.3178, allocations: 0 / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.3179, allocations: 119 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.75e-05/0.318, allocations: 188.2 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-05/0.3181, allocations: 176.3 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.148e-05/0.3181, allocations: 184.3 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.3184, allocations: 364.8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.201e-05/0.3184, allocations: 105 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.3185, allocations: 109.1 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.726e-05/0.3186, allocations: 184.3 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.194e-05/0.3186, allocations: 180.2 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.977e-05/0.3187, allocations: 184.2 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.317e-05/0.3188, allocations: 184.3 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.319, allocations: 307.7 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.319, allocations: 108.9 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/0.3191, allocations: 184.2 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.3193, allocations: 105 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.3194, allocations: 184.2 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/0.3194, allocations: 113 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.3195, allocations: 83.28 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3195, allocations: 0 / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002966/0.3198, allocations: 31.88 kB / 1.335 GB, free: 7.988 MB / 1.029 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.0003019/0.3201, allocations: 238.3 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.323e-05/0.3202, allocations: 11.94 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3202, allocations: 0 / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3202, allocations: 0 / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.3206, allocations: 470.7 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.3209, allocations: 186 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.204e-05/0.321, allocations: 63.47 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.321, allocations: 5.969 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.321, allocations: 11.44 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.321, allocations: 0 / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of Templates: time 0.004034/0.3251, allocations: 1.271 MB / 1.338 GB, free: 5.746 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.569862309988821]