Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001393/0.001393, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001554/0.001554, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.305/1.305, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.937/2.937, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [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.001871/0.001871, allocations: 67.91 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2846, allocations: 180.2 MB / 1.354 GB, free: 8.023 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005272/0.2898, allocations: 4.133 MB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001981/0.29, allocations: 163.5 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.2901, allocations: 0 / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.212e-05/0.2902, allocations: 7.938 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.744e-05/0.2902, allocations: 15.91 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.2905, allocations: 79.75 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.454e-05/0.2906, allocations: 31.86 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.2907, allocations: 7.984 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.001e-05/0.2907, allocations: 19.92 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.2908, allocations: 15.92 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.2908, allocations: 7.922 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.291, allocations: 75.78 kB / 1.359 GB, free: 3.449 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.291, allocations: 7.984 kB / 1.359 GB, free: 3.441 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.291, allocations: 7.938 kB / 1.359 GB, free: 3.434 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.2912, allocations: 67.84 kB / 1.359 GB, free: 3.367 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2912, allocations: 4 kB / 1.359 GB, free: 3.363 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2912, allocations: 0 / 1.359 GB, free: 3.363 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2912, allocations: 4 kB / 1.359 GB, free: 3.359 MB / 1.045 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.0003552/0.2916, allocations: 258.3 kB / 1.359 GB, free: 3.078 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2916, allocations: 8.031 kB / 1.359 GB, free: 3.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.2916, allocations: 4.938 kB / 1.359 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.914e-05/0.2917, allocations: 106.5 kB / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.2918, allocations: 55.97 kB / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.2918, allocations: 384 / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.2919, allocations: 49.56 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2919, allocations: 4 kB / 1.359 GB, free: 2.812 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2919, allocations: 0 / 1.359 GB, free: 2.812 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2919, allocations: 4 kB / 1.359 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.878e-05/0.292, allocations: 15.92 kB / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.2924, allocations: 235.9 kB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 3.767e-05/0.2924, allocations: 18.52 kB / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.2924, allocations: 12.92 kB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.2925, allocations: 8 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.2925, allocations: 30.56 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2925, allocations: 0 / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.2926, allocations: 37.69 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.2926, allocations: 51.41 kB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.2927, allocations: 101.9 kB / 1.36 GB, free: 2.215 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2927, allocations: 25.83 kB / 1.36 GB, free: 2.184 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.2928, allocations: 92.08 kB / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-06/0.2928, allocations: 7.938 kB / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.2928, allocations: 13.72 kB / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.293, allocations: 314.8 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.293, allocations: 11.98 kB / 1.36 GB, free: 1.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.293, allocations: 13.72 kB / 1.36 GB, free: 1.715 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.293, allocations: 25.72 kB / 1.36 GB, free: 1.684 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.293, allocations: 0 / 1.36 GB, free: 1.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.685e-05/0.2931, allocations: 49.58 kB / 1.36 GB, free: 1.629 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2931, allocations: 4 kB / 1.36 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2931, allocations: 4 kB / 1.36 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2931, allocations: 3.938 kB / 1.36 GB, free: 1.617 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.111e-05/0.2932, allocations: 7.984 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2932, allocations: 0 / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.2932, allocations: 8.062 kB / 1.36 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.2932, allocations: 4 kB / 1.36 GB, free: 1.598 MB / 1.045 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.547e-05/0.2933, allocations: 117.7 kB / 1.36 GB, free: 1.473 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.2933, allocations: 4 kB / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.2934, allocations: 129.2 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.778e-05/0.2935, allocations: 176.3 kB / 1.361 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.781e-05/0.2936, allocations: 184.2 kB / 1.361 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.01e-05/0.2936, allocations: 180.2 kB / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.2939, allocations: 384.2 kB / 1.361 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.953e-05/0.2939, allocations: 101 kB / 1.361 GB, free: 252 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.2939, allocations: 105 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.294, allocations: 192.1 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/0.2941, allocations: 180.3 kB / 1.362 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.875e-05/0.2942, allocations: 180.2 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.325e-05/0.2943, allocations: 184.3 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.2944, allocations: 307.7 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.2945, allocations: 112.9 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.2945, allocations: 184.2 kB / 1.363 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2947, allocations: 105 kB / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.2948, allocations: 176.3 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.2948, allocations: 108.9 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.2949, allocations: 83.28 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.2949, allocations: 4 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000235/0.2951, allocations: 19.92 kB / 1.363 GB, free: 14.25 MB / 1.061 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.0001748/0.2953, allocations: 194.4 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.863e-05/0.2953, allocations: 8 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2953, allocations: 3.938 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.2953, allocations: 0 / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.2958, allocations: 471.8 kB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.296, allocations: 207.8 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.2963, allocations: 0.6768 MB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.2963, allocations: 7.438 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.2963, allocations: 0 / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of Templates: time 0.002087/0.2984, allocations: 0.7263 MB / 1.365 GB, free: 11.91 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 9.856650178000564]