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.0009264/0.0009264, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 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.0009625/0.0009625, allocations: 165 kB / 24.17 MB, free: 332 kB / 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 0.9792/0.9792, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.86/1.86, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.383e-05, allocations: 5.766 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003726/0.00375, allocations: 3.478 MB / 0.7634 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 8.152e-05/0.003832, allocations: 45.89 kB / 0.7635 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.003853, allocations: 0 / 0.7635 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.662e-05/0.00395, allocations: 9.125 kB / 0.7635 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.988e-05/0.00402, allocations: 12.58 kB / 0.7635 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.004489, allocations: 225.5 kB / 0.7637 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.827e-05/0.004557, allocations: 36.77 kB / 0.7637 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.00459, allocations: 3.984 kB / 0.7637 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.775e-05/0.004638, allocations: 15.98 kB / 0.7637 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.004697, allocations: 8.672 kB / 0.7637 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.004707, allocations: 5.719 kB / 0.7638 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.004908, allocations: 143.5 kB / 0.7639 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.004949, allocations: 11.97 kB / 0.7639 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.004965, allocations: 8 kB / 0.7639 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.005132, allocations: 128.3 kB / 0.764 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005134, allocations: 0 / 0.764 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005135, allocations: 0.5625 kB / 0.764 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.916e-06/0.005138, allocations: 0 / 0.764 GB, free: 2.547 MB / 0.7136 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.0002494/0.005387, allocations: 257.2 kB / 0.7643 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.005415, allocations: 12.03 kB / 0.7643 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.005437, allocations: 1.688 kB / 0.7643 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.811e-05/0.005505, allocations: 110.9 kB / 0.7644 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.005547, allocations: 51.97 kB / 0.7644 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.005557, allocations: 2.562 kB / 0.7644 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.247e-05/0.00565, allocations: 83.47 kB / 0.7645 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.005656, allocations: 192 / 0.7645 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.005663, allocations: 3.938 kB / 0.7645 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.005681, allocations: 0 / 0.7645 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.005698, allocations: 7.984 kB / 0.7645 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.005996, allocations: 199.5 kB / 0.7647 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.648e-05/0.006022, allocations: 18.58 kB / 0.7647 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-06/0.006032, allocations: 8.891 kB / 0.7648 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.006084, allocations: 42.86 kB / 0.7648 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.006106, allocations: 42.47 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.006107, allocations: 0 / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 7.826e-05/0.006185, allocations: 33.64 kB / 0.7649 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.00621, allocations: 51.41 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.484e-05/0.006264, allocations: 106.7 kB / 0.765 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.006274, allocations: 25.7 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.006307, allocations: 86.84 kB / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.631e-06/0.006313, allocations: 7.984 kB / 0.7651 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.006334, allocations: 13.72 kB / 0.7651 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.006402, allocations: 322.8 kB / 0.7655 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-06/0.006406, allocations: 0 / 0.7655 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.006419, allocations: 13.72 kB / 0.7655 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.006445, allocations: 29.28 kB / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.006447, allocations: 0 / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.957e-05/0.006486, allocations: 34.77 kB / 0.7655 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.006496, allocations: 11.88 kB / 0.7655 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.006501, allocations: 4.812 kB / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.006519, allocations: 4.266 kB / 0.7656 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.038e-05/0.006549, allocations: 9.5 kB / 0.7656 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.006551, allocations: 0 / 0.7656 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.006564, allocations: 7.953 kB / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.006571, allocations: 0 / 0.7656 GB, free: 0.8008 MB / 0.7136 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 4.918e-05/0.00662, allocations: 117.9 kB / 0.7657 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.006634, allocations: 11.92 kB / 0.7657 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.262e-05/0.006717, allocations: 121.6 kB / 0.7658 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.886e-05/0.006756, allocations: 180.2 kB / 0.766 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.863e-05/0.006794, allocations: 177.1 kB / 0.7661 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.686e-05/0.006851, allocations: 184.2 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.00697, allocations: 322 kB / 0.7666 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/0.006991, allocations: 101 kB / 0.7667 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.007015, allocations: 108.3 kB / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.874e-05/0.007053, allocations: 184.3 kB / 0.767 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.007097, allocations: 184.2 kB / 0.7672 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.929e-05/0.007136, allocations: 180.2 kB / 0.7674 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.704e-05/0.007173, allocations: 180.3 kB / 0.7675 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.453e-05/0.007268, allocations: 307.8 kB / 0.7678 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.007296, allocations: 108.9 kB / 0.7679 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.007345, allocations: 180.2 kB / 0.7681 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.007425, allocations: 111.9 kB / 0.7682 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.00747, allocations: 188.2 kB / 0.7684 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.007493, allocations: 101 kB / 0.7685 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.676e-05/0.00751, allocations: 12.86 kB / 0.7685 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00751, allocations: 4 kB / 0.7685 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001607/0.007671, allocations: 35.8 kB / 0.7685 GB, free: 13.6 MB / 0.7292 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.0001886/0.00786, allocations: 217.9 kB / 0.7687 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.43e-05/0.007904, allocations: 17.3 kB / 0.7688 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.007907, allocations: 0 / 0.7688 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.007909, allocations: 4.75 kB / 0.7688 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.008362, allocations: 462.3 kB / 0.7692 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.008657, allocations: 192.1 kB / 0.7694 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.543e-05/0.008683, allocations: 55.36 kB / 0.7694 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.388e-05/0.008706, allocations: 7.438 kB / 0.7694 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.008767, allocations: 67.33 kB / 0.7695 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.008768, allocations: 0 / 0.7695 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.002911/0.01168, allocations: 1.344 MB / 0.7708 GB, free: 11.34 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.064676974900067]