Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 117.7 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 189.7 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 61.91 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2889, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00473/0.2937, allocations: 3.286 MB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000113/0.2938, allocations: 51.86 kB / 0.9544 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.2939, allocations: 3.938 kB / 0.9544 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.284e-05/0.294, allocations: 8 kB / 0.9544 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.762e-05/0.2941, allocations: 11.91 kB / 0.9544 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.2946, allocations: 183.2 kB / 0.9546 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.775e-05/0.2947, allocations: 31.91 kB / 0.9546 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.2947, allocations: 7.984 kB / 0.9546 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.28e-05/0.2947, allocations: 15.94 kB / 0.9546 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.2948, allocations: 23.91 kB / 0.9547 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.2948, allocations: 0 / 0.9547 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.2951, allocations: 167.6 kB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.2952, allocations: 7.969 kB / 0.9548 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.2952, allocations: 15.88 kB / 0.9548 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.2955, allocations: 131.8 kB / 0.955 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2955, allocations: 3.938 kB / 0.955 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2955, allocations: 0 / 0.955 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2955, allocations: 0 / 0.955 GB, free: 4.098 MB / 0.7325 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.0003623/0.2959, allocations: 355.4 kB / 0.9553 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.2959, allocations: 12.03 kB / 0.9553 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.296, allocations: 4.875 kB / 0.9553 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2961, allocations: 160.4 kB / 0.9555 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.2962, allocations: 30.27 kB / 0.9555 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2962, allocations: 384 / 0.9555 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.2963, allocations: 49.61 kB / 0.9556 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2963, allocations: 4 kB / 0.9556 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2964, allocations: 4 kB / 0.9556 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.2964, allocations: 4 kB / 0.9556 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.2964, allocations: 19.91 kB / 0.9556 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.2971, allocations: 0.5871 MB / 0.9562 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.842e-05/0.2971, allocations: 18.58 kB / 0.9562 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.2972, allocations: 4.859 kB / 0.9562 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.2974, allocations: 348.5 kB / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.2975, allocations: 30.56 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.2975, allocations: 0 / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.000143/0.2976, allocations: 37.62 kB / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2976, allocations: 55.41 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.2977, allocations: 97.86 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.2977, allocations: 25.7 kB / 0.9567 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.2978, allocations: 96.16 kB / 0.9568 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.2978, allocations: 4 kB / 0.9568 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.2979, allocations: 13.72 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.298, allocations: 314.8 kB / 0.9572 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.298, allocations: 8 kB / 0.9572 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.298, allocations: 17.7 kB / 0.9572 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.422e-05/0.2981, allocations: 25.66 kB / 0.9572 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2981, allocations: 0 / 0.9572 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.279e-05/0.2981, allocations: 45.69 kB / 0.9572 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2982, allocations: 4 kB / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2982, allocations: 0 / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2982, allocations: 7.875 kB / 0.9573 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.2982, allocations: 8 kB / 0.9573 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2983, allocations: 4 kB / 0.9573 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.2983, allocations: 11.83 kB / 0.9573 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2983, allocations: 4.062 kB / 0.9573 GB, free: 1.336 MB / 0.7325 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 7.16e-05/0.2984, allocations: 119.7 kB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.2984, allocations: 0 / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.2985, allocations: 117 kB / 0.9575 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.081e-05/0.2986, allocations: 184.2 kB / 0.9577 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-05/0.2987, allocations: 180.3 kB / 0.9579 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.48e-05/0.2988, allocations: 184.2 kB / 0.958 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.299, allocations: 409.2 kB / 0.9584 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.446e-05/0.299, allocations: 101.1 kB / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.2991, allocations: 108.9 kB / 0.9586 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.143e-05/0.2992, allocations: 176.3 kB / 0.9588 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.751e-05/0.2992, allocations: 192.2 kB / 0.959 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.146e-05/0.2993, allocations: 176.3 kB / 0.9591 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-05/0.2994, allocations: 184.2 kB / 0.9593 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2995, allocations: 307.8 kB / 0.9596 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.2996, allocations: 182 kB / 0.9598 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.798e-05/0.2997, allocations: 188.3 kB / 0.96 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.2998, allocations: 116.9 kB / 0.9601 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.2999, allocations: 176.3 kB / 0.9602 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.2999, allocations: 101 kB / 0.9603 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.3, allocations: 83.28 kB / 0.9604 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3, allocations: 0 / 0.9604 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002672/0.3003, allocations: 39.98 kB / 0.9605 GB, free: 13.86 MB / 0.7481 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.0002651/0.3005, allocations: 241.5 kB / 0.9607 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.841e-05/0.3006, allocations: 12 kB / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3006, allocations: 0 / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3006, allocations: 3.938 kB / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3011, allocations: 463.7 kB / 0.9611 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.3013, allocations: 181.9 kB / 0.9613 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.3015, allocations: 0.6768 MB / 0.962 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.3016, allocations: 7.984 kB / 0.962 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.3016, allocations: 11.44 kB / 0.962 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.3016, allocations: 0 / 0.962 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of Templates: time 0.003469/0.3051, allocations: 1.211 MB / 0.9632 GB, free: 11.05 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches