Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001654/0.001654, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002056/0.002056, allocations: 212.6 kB / 22.99 MB, free: 4.957 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.114/3.114, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_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.002042/0.002042, allocations: 77.08 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2974, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005825/0.3032, allocations: 3.897 MB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002225/0.3035, allocations: 155.6 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.3035, allocations: 3.938 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.3036, allocations: 7.922 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.3037, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.304, allocations: 87.67 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.626e-05/0.3041, allocations: 35.84 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.3042, allocations: 8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.3042, allocations: 15.97 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.3043, allocations: 15.92 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.3043, allocations: 0 / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.3045, allocations: 51.81 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.3045, allocations: 7.984 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.3045, allocations: 8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.3047, allocations: 63.75 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3047, allocations: 3.938 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3047, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3047, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 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.0003794/0.3051, allocations: 266.3 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3051, allocations: 12.03 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.3051, allocations: 0.9375 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.3052, allocations: 106.5 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/0.3053, allocations: 51.97 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3053, allocations: 384 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.3055, allocations: 75.33 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3055, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3055, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.3055, allocations: 4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.3055, allocations: 15.92 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.3059, allocations: 216.5 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.74e-05/0.306, allocations: 22.56 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.306, allocations: 4.859 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.339e-05/0.306, allocations: 8.062 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.3061, allocations: 30.56 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3061, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.3062, allocations: 45.67 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3063, allocations: 55.44 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/0.3063, allocations: 101.9 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3064, allocations: 25.7 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.3064, allocations: 92.08 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-06/0.3064, allocations: 3.938 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.3065, allocations: 13.72 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3066, allocations: 318.8 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.3066, allocations: 7.984 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.3066, allocations: 13.72 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.3067, allocations: 29.66 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3067, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.455e-05/0.3068, allocations: 45.69 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3068, allocations: 11.94 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.3068, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3068, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.059e-05/0.3068, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.3068, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.3069, allocations: 11.94 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3069, allocations: 64 / 1.333 GB, free: 10.82 MB / 1.029 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 8.183e-05/0.307, allocations: 117.8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.307, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.3071, allocations: 120.9 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-05/0.3072, allocations: 184.2 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-05/0.3073, allocations: 180.3 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.221e-05/0.3073, allocations: 184.2 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.3076, allocations: 360.8 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.787e-05/0.3076, allocations: 104.9 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.3077, allocations: 105 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.562e-05/0.3078, allocations: 184.3 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.193e-05/0.3079, allocations: 180.2 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-05/0.3079, allocations: 184.2 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.579e-05/0.308, allocations: 184.2 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.3082, allocations: 299.8 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.3083, allocations: 112.9 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.3083, allocations: 180.2 kB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.3085, allocations: 108.9 kB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.3086, allocations: 176.3 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.3086, allocations: 109 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.3087, allocations: 87.28 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3087, allocations: 0 / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002518/0.309, allocations: 19.88 kB / 1.336 GB, free: 7.527 MB / 1.029 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.0002022/0.3092, allocations: 199.5 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.3092, allocations: 7.984 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3092, allocations: 0 / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.3092, allocations: 4 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.3097, allocations: 465.3 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.31, allocations: 194.2 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.6e-05/0.31, allocations: 55.36 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.108e-05/0.3101, allocations: 7.984 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.3101, allocations: 7.438 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3101, allocations: 0 / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of Templates: time 0.003009/0.3131, allocations: 0.6929 MB / 1.337 GB, free: 5.863 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.286026727000717]