Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001436/0.001436, allocations: 110.5 kB / 19.69 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.001606/0.001606, allocations: 218.6 kB / 23.01 MB, free: 4.566 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.957/2.957, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [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.001866/0.001866, allocations: 71.22 kB / 1.178 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2854, allocations: 180.2 MB / 1.354 GB, free: 8.031 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005214/0.2906, allocations: 3.83 MB / 1.358 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001968/0.2908, allocations: 147.5 kB / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.2909, allocations: 0 / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.515e-05/0.2909, allocations: 7.938 kB / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.291, allocations: 23.91 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.2913, allocations: 79.75 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.726e-05/0.2914, allocations: 39.78 kB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.2914, allocations: 3.984 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.2915, allocations: 19.94 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.2915, allocations: 11.97 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.2915, allocations: 4 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005751/0.2921, allocations: 251.1 kB / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.2922, allocations: 0 / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.2922, allocations: 15.92 kB / 1.358 GB, free: 3.586 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.2923, allocations: 63.91 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2923, allocations: 0 / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2923, allocations: 3.938 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2923, allocations: 0 / 1.358 GB, free: 3.52 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.0003465/0.2927, allocations: 258.3 kB / 1.359 GB, free: 3.238 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2927, allocations: 16.03 kB / 1.359 GB, free: 3.223 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.2927, allocations: 0.9375 kB / 1.359 GB, free: 3.223 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.2928, allocations: 110.5 kB / 1.359 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/0.2929, allocations: 55.97 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-06/0.2929, allocations: 384 / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.293, allocations: 53.55 kB / 1.359 GB, free: 2.965 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.293, allocations: 0 / 1.359 GB, free: 2.965 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.293, allocations: 4 kB / 1.359 GB, free: 2.961 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.2931, allocations: 0 / 1.359 GB, free: 2.961 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.119e-05/0.2931, allocations: 19.98 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.2935, allocations: 228 kB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.142e-05/0.2935, allocations: 22.52 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.313e-05/0.2935, allocations: 4.859 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.2936, allocations: 12.05 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.2936, allocations: 42.56 kB / 1.359 GB, free: 2.574 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.2936, allocations: 0 / 1.359 GB, free: 2.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001217/0.2937, allocations: 33.7 kB / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.2938, allocations: 51.41 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.2939, allocations: 105.8 kB / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2939, allocations: 25.7 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.2939, allocations: 88.08 kB / 1.36 GB, free: 2.238 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-06/0.2939, allocations: 0 / 1.36 GB, free: 2.238 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.294, allocations: 25.77 kB / 1.36 GB, free: 2.207 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2941, allocations: 322.8 kB / 1.36 GB, free: 1.883 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.2941, allocations: 0 / 1.36 GB, free: 1.883 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/0.2941, allocations: 17.7 kB / 1.36 GB, free: 1.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.2942, allocations: 21.72 kB / 1.36 GB, free: 1.832 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2942, allocations: 0 / 1.36 GB, free: 1.832 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.305e-05/0.2942, allocations: 61.52 kB / 1.36 GB, free: 1.766 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2943, allocations: 10.03 kB / 1.36 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.2943, allocations: 0 / 1.36 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2943, allocations: 3.938 kB / 1.36 GB, free: 1.754 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.775e-05/0.2943, allocations: 4 kB / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.2943, allocations: 0 / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.2943, allocations: 4 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.2943, allocations: 0 / 1.36 GB, free: 1.746 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.741e-05/0.2944, allocations: 125.8 kB / 1.36 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.2944, allocations: 0 / 1.36 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.2946, allocations: 120.9 kB / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.463e-05/0.2946, allocations: 176.3 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-05/0.2947, allocations: 184.2 kB / 1.361 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.456e-05/0.2948, allocations: 176.3 kB / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.295, allocations: 396.1 kB / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.15e-05/0.2951, allocations: 105 kB / 1.361 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.2951, allocations: 101 kB / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.109e-05/0.2952, allocations: 184.2 kB / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.2953, allocations: 176.3 kB / 1.362 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-05/0.2954, allocations: 192.2 kB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.449e-05/0.2954, allocations: 176.5 kB / 1.362 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.2956, allocations: 307.7 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.2956, allocations: 112.9 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.389e-05/0.2957, allocations: 184.2 kB / 1.363 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.2959, allocations: 105 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.296, allocations: 180.3 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.296, allocations: 112.9 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.296, allocations: 83.28 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.296, allocations: 0 / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002451/0.2963, allocations: 12 kB / 1.363 GB, free: 14.41 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.0001727/0.2965, allocations: 198.4 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.563e-05/0.2965, allocations: 11.98 kB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2965, allocations: 4 kB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.2965, allocations: 3.938 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.297, allocations: 455.7 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.2972, allocations: 215.9 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.2975, allocations: 0.6806 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.2976, allocations: 11.44 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.2976, allocations: 0 / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of Templates: time 0.002205/0.2998, allocations: 0.7283 MB / 1.365 GB, free: 12.05 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.97195095999632]