Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000766/0.000766, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008064/0.0008064, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 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.853/0.853, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.615/1.615, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.682e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003078/0.003095, allocations: 3.221 MB / 0.9549 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 6.538e-05/0.003161, allocations: 55.73 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.003184, allocations: 0 / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 9.651e-05/0.00328, allocations: 19.86 kB / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.003344, allocations: 3.984 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.003767, allocations: 203 kB / 0.9551 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.477e-05/0.003842, allocations: 35.84 kB / 0.9552 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.003874, allocations: 4 kB / 0.9552 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.003922, allocations: 27.91 kB / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.003981, allocations: 11.98 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.003992, allocations: 0 / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.004188, allocations: 135.5 kB / 0.9553 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.004233, allocations: 8 kB / 0.9554 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.004251, allocations: 7.984 kB / 0.9554 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.004432, allocations: 127.7 kB / 0.9555 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.004434, allocations: 0 / 0.9555 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004435, allocations: 0 / 0.9555 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.004439, allocations: 0 / 0.9555 GB, free: 15.12 MB / 0.9167 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.000297/0.004736, allocations: 284 kB / 0.9558 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.004771, allocations: 8.031 kB / 0.9558 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.004804, allocations: 0.9375 kB / 0.9558 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.245e-05/0.004876, allocations: 109.7 kB / 0.9559 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.004928, allocations: 51.97 kB / 0.9559 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.004936, allocations: 4.375 kB / 0.9559 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.005038, allocations: 67.95 kB / 0.956 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.005046, allocations: 192 / 0.956 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.005056, allocations: 3.938 kB / 0.956 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.00507, allocations: 0 / 0.956 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.005105, allocations: 23.98 kB / 0.956 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.005466, allocations: 240.5 kB / 0.9562 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.039e-05/0.005497, allocations: 18.52 kB / 0.9563 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.398e-05/0.005511, allocations: 20.8 kB / 0.9563 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.041e-05/0.005561, allocations: 35.95 kB / 0.9563 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.005579, allocations: 30.56 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.00558, allocations: 0 / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.005699, allocations: 45.62 kB / 0.9564 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.005728, allocations: 51.41 kB / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.005787, allocations: 106 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.005798, allocations: 29.7 kB / 0.9566 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.005833, allocations: 88.08 kB / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-06/0.005837, allocations: 0 / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.005863, allocations: 21.67 kB / 0.9567 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.664e-05/0.005929, allocations: 310.8 kB / 0.957 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.00594, allocations: 7.984 kB / 0.957 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-05/0.005958, allocations: 13.72 kB / 0.957 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.005984, allocations: 25.72 kB / 0.957 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005986, allocations: 7.938 kB / 0.957 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.788e-05/0.006034, allocations: 53.56 kB / 0.9571 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.006046, allocations: 8 kB / 0.9571 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.006049, allocations: 0 / 0.9571 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.00606, allocations: 0 / 0.9571 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.405e-05/0.006094, allocations: 7.984 kB / 0.9571 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.006098, allocations: 0 / 0.9571 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.114e-05/0.00611, allocations: 7.938 kB / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.006116, allocations: 0 / 0.9571 GB, free: 13.27 MB / 0.9167 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.906e-05/0.006165, allocations: 117.8 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.006178, allocations: 7.938 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.004e-05/0.006258, allocations: 120.2 kB / 0.9573 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.719e-05/0.006295, allocations: 180.2 kB / 0.9575 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.451e-05/0.00634, allocations: 180.3 kB / 0.9577 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.817e-05/0.006388, allocations: 180.3 kB / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.006532, allocations: 356.8 kB / 0.9582 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.006553, allocations: 101 kB / 0.9583 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.006578, allocations: 104.9 kB / 0.9584 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-05/0.006616, allocations: 192.1 kB / 0.9586 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.00666, allocations: 184.2 kB / 0.9587 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-05/0.006696, allocations: 184.2 kB / 0.9589 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-05/0.006733, allocations: 176.3 kB / 0.9591 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.99e-05/0.006823, allocations: 311.7 kB / 0.9594 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.006853, allocations: 116.9 kB / 0.9595 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.0069, allocations: 180.2 kB / 0.9597 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.00699, allocations: 105 kB / 0.9598 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.007037, allocations: 184.2 kB / 0.9599 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.007059, allocations: 105 kB / 0.96 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.007091, allocations: 83.28 kB / 0.9601 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007091, allocations: 0 / 0.9601 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001879/0.007279, allocations: 43.86 kB / 0.9602 GB, free: 9.953 MB / 0.9167 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.0001905/0.00747, allocations: 234.5 kB / 0.9604 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.418e-05/0.007524, allocations: 15.94 kB / 0.9604 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007525, allocations: 0 / 0.9604 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.007526, allocations: 0 / 0.9604 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.007795, allocations: 463.7 kB / 0.9608 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.007996, allocations: 197.9 kB / 0.961 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.008038, allocations: 63.28 kB / 0.9611 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.008054, allocations: 8.5 kB / 0.9611 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of SimCode: time 3.51e-07/0.008054, allocations: 0 / 0.9611 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of Templates: time 0.001864/0.009918, allocations: 1.218 MB / 0.9623 GB, free: 7.719 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.4713079277426]