Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007942/0.0007942, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.001957, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007405/0.0007405, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000871/0.001612, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9467/0.9467, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09137/1.038, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.377/2.377, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2485/2.626, allocations: 145.9 MB / 0.817 GB, free: 4.195 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.409e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.0103/0.01032, allocations: 3.512 MB / 0.8217 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 9.984e-05/0.01042, allocations: 47.8 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.01044, allocations: 0 / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.22e-05/0.01052, allocations: 11.94 kB / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.01058, allocations: 11.91 kB / 0.8218 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.01105, allocations: 215.1 kB / 0.822 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.42e-05/0.01114, allocations: 35.84 kB / 0.822 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.01118, allocations: 3.938 kB / 0.822 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.01125, allocations: 27.97 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.01131, allocations: 11.98 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.01133, allocations: 4 kB / 0.8221 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.01162, allocations: 151.5 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.01166, allocations: 0 / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.01167, allocations: 11.94 kB / 0.8222 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.01189, allocations: 107.7 kB / 0.8223 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.927e-05/0.01191, allocations: 0 / 0.8223 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01191, allocations: 0 / 0.8223 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.01192, allocations: 0 / 0.8223 GB, free: 14.72 MB / 0.8073 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.003402/0.01532, allocations: 260.5 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.01536, allocations: 12.62 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.01539, allocations: 8.922 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.409e-05/0.01548, allocations: 109.7 kB / 0.8227 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.01554, allocations: 51.97 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.01555, allocations: 4.375 kB / 0.8228 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.01567, allocations: 79.48 kB / 0.8228 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.01568, allocations: 4.172 kB / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.01568, allocations: 7.875 kB / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.01571, allocations: 0 / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.01573, allocations: 7.984 kB / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.0161, allocations: 205.8 kB / 0.8231 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.785e-05/0.01614, allocations: 26.58 kB / 0.8231 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.141e-05/0.01615, allocations: 4.859 kB / 0.8231 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.222e-05/0.01622, allocations: 40.02 kB / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.01624, allocations: 34.5 kB / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.051e-06/0.01624, allocations: 0 / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 9.804e-05/0.01634, allocations: 37.62 kB / 0.8232 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.01637, allocations: 51.41 kB / 0.8233 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.01643, allocations: 110.7 kB / 0.8234 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.01644, allocations: 25.7 kB / 0.8234 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.01648, allocations: 92.2 kB / 0.8235 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.01649, allocations: 4 kB / 0.8235 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.01652, allocations: 9.719 kB / 0.8235 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.01659, allocations: 318.8 kB / 0.8238 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-06/0.0166, allocations: 3.984 kB / 0.8238 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.681e-05/0.01662, allocations: 13.72 kB / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.789e-05/0.01664, allocations: 24.48 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01665, allocations: 0 / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.791e-05/0.0167, allocations: 45.69 kB / 0.8239 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.01672, allocations: 10.12 kB / 0.8239 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01672, allocations: 4 kB / 0.8239 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.01673, allocations: 0 / 0.8239 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.084e-05/0.01677, allocations: 11.92 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.01677, allocations: 0 / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.01679, allocations: 7.953 kB / 0.8239 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.0168, allocations: 0 / 0.8239 GB, free: 12.94 MB / 0.8073 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 5.061e-05/0.01685, allocations: 112.7 kB / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.01687, allocations: 7.875 kB / 0.824 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.774e-05/0.01697, allocations: 129.1 kB / 0.8241 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-05/0.01701, allocations: 180.2 kB / 0.8243 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.4e-05/0.01708, allocations: 180.3 kB / 0.8245 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.502e-05/0.01712, allocations: 180.2 kB / 0.8247 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.01728, allocations: 329.4 kB / 0.825 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/0.0173, allocations: 101 kB / 0.8251 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.01733, allocations: 104.9 kB / 0.8252 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.01737, allocations: 109 kB / 0.8253 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.63e-05/0.01741, allocations: 180.2 kB / 0.8254 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.01746, allocations: 188.2 kB / 0.8256 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.304e-05/0.0175, allocations: 180.3 kB / 0.8258 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.592e-05/0.01755, allocations: 180.2 kB / 0.826 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.01766, allocations: 307.8 kB / 0.8263 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.01773, allocations: 180.3 kB / 0.8264 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.01784, allocations: 109.2 kB / 0.8265 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.01789, allocations: 180.2 kB / 0.8267 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.01792, allocations: 113 kB / 0.8268 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.958e-05/0.01794, allocations: 12.84 kB / 0.8268 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01794, allocations: 0 / 0.8268 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003256/0.0212, allocations: 35.88 kB / 0.8269 GB, free: 9.734 MB / 0.8073 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.0002451/0.02144, allocations: 215.5 kB / 0.8271 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.462e-05/0.0215, allocations: 16.8 kB / 0.8271 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.0215, allocations: 0 / 0.8271 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.0215, allocations: 0 / 0.8271 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.02178, allocations: 471.8 kB / 0.8275 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/0.02262, allocations: 204.9 kB / 0.8277 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.31e-05/0.02265, allocations: 51.36 kB / 0.8278 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.02268, allocations: 7.984 kB / 0.8278 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.02275, allocations: 59.36 kB / 0.8278 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of SimCode: time 6.72e-07/0.02275, allocations: 4 kB / 0.8278 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.006407/0.02916, allocations: 1.382 MB / 0.8292 GB, free: 7.328 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.ref.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.218115056864917]