Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamProperties.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.001991/0.001991, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002565/0.002565, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.676/1.676, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.959/2.959, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.257e-05/4.504e-05, allocations: 2.938 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.2226/0.2227, allocations: 119.6 MB / 0.9276 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0344/0.2571, allocations: 20.24 MB / 0.9474 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.2573, allocations: 0 / 0.9474 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.2576, allocations: 39.75 kB / 0.9475 GB, free: 5.691 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.258, allocations: 103.2 kB / 0.9475 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.02018/0.2782, allocations: 6.993 MB / 0.9544 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.2787, allocations: 263.7 kB / 0.9546 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.555e-05/0.2788, allocations: 9.797 kB / 0.9546 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004806/0.2792, allocations: 187.4 kB / 0.9548 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.2795, allocations: 79.77 kB / 0.9549 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.2795, allocations: 8 kB / 0.9549 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02384/0.3033, allocations: 11.13 MB / 0.9658 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3034, allocations: 35.89 kB / 0.9658 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.3036, allocations: 75.81 kB / 0.9659 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01827/0.3219, allocations: 8.361 MB / 0.974 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3219, allocations: 0 / 0.974 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3219, allocations: 0 / 0.974 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.3219, allocations: 3.938 kB / 0.974 GB, free: 10.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003612/0.3255, allocations: 1.167 MB / 0.9752 GB, free: 9.195 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3255, allocations: 8.031 kB / 0.9752 GB, free: 9.188 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.3268, allocations: 148.3 kB / 0.9753 GB, free: 9.043 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.3272, allocations: 173.5 kB / 0.9755 GB, free: 8.848 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.3272, allocations: 16.12 kB / 0.9755 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.3272, allocations: 20.38 kB / 0.9755 GB, free: 8.812 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3287, allocations: 0.6718 MB / 0.9762 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3288, allocations: 0 / 0.9762 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.3288, allocations: 8 kB / 0.9762 GB, free: 8.066 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3288, allocations: 8 kB / 0.9762 GB, free: 8.059 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.3302, allocations: 0.601 MB / 0.9768 GB, free: 7.457 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.3314, allocations: 0.688 MB / 0.9775 GB, free: 6.727 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009183/0.3323, allocations: 240 kB / 0.9777 GB, free: 6.484 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.3325, allocations: 72.98 kB / 0.9778 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1521/0.4846, allocations: 23.34 MB / 1.001 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.011e-05/0.4846, allocations: 38.56 kB / 1.001 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 2.825e-06/0.4846, allocations: 0 / 1.001 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.003734/0.4884, allocations: 457 kB / 1.001 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.4885, allocations: 51.41 kB / 1.001 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/0.489, allocations: 133.8 kB / 1.001 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.615e-05/0.4891, allocations: 29.7 kB / 1.001 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4893, allocations: 116.5 kB / 1.001 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.4894, allocations: 87.22 kB / 1.001 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.4897, allocations: 81.66 kB / 1.002 GB, free: 14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003001/0.49, allocations: 322.8 kB / 1.002 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.4904, allocations: 75.95 kB / 1.002 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.491, allocations: 129.1 kB / 1.002 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.492, allocations: 223.3 kB / 1.002 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/0.492, allocations: 7.922 kB / 1.002 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001812/0.4938, allocations: 338.9 kB / 1.003 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.4939, allocations: 4 kB / 1.003 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4939, allocations: 0 / 1.003 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.894e-05/0.4939, allocations: 4 kB / 1.003 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/0.4946, allocations: 80.03 kB / 1.003 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/0.4946, allocations: 11.98 kB / 1.003 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.4949, allocations: 15.89 kB / 1.003 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.495, allocations: 31.97 kB / 1.003 GB, free: 12.73 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0002972/0.4953, allocations: 125.7 kB / 1.003 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/0.4958, allocations: 43.66 kB / 1.003 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005741/0.5015, allocations: 2.485 MB / 1.005 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.904e-05/0.5016, allocations: 15.98 kB / 1.005 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5016, allocations: 0 / 1.005 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.5016, allocations: 3.984 kB / 1.005 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00812/0.5097, allocations: 3.549 MB / 1.009 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.5097, allocations: 3.938 kB / 1.009 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/0.5102, allocations: 55.89 kB / 1.009 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.5102, allocations: 0 / 1.009 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.5103, allocations: 8 kB / 1.009 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.5103, allocations: 3.984 kB / 1.009 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5103, allocations: 0 / 1.009 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.5121, allocations: 0.5821 MB / 1.009 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.5124, allocations: 63.62 kB / 1.009 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.5125, allocations: 4 kB / 1.009 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.5129, allocations: 16 kB / 1.009 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.513, allocations: 23.95 kB / 1.01 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/0.513, allocations: 8 kB / 1.01 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001449/0.5132, allocations: 98.64 kB / 1.01 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5132, allocations: 0 / 1.01 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00767/0.5209, allocations: 1.719 MB / 1.011 GB, free: 3.809 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01565/0.5365, allocations: 2.205 MB / 1.013 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.5378, allocations: 328.3 kB / 1.014 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.5378, allocations: 0 / 1.014 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.5384, allocations: 193.7 kB / 1.014 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.5396, allocations: 98.53 kB / 1.014 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.5415, allocations: 0.6167 MB / 1.015 GB, free: 348 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.5418, allocations: 160.7 kB / 1.015 GB, free: 160 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001226/0.543, allocations: 404.6 kB / 1.015 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.5432, allocations: 40.48 kB / 1.015 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of SimCode: time 8.02e-07/0.5432, allocations: 4 kB / 1.015 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of Templates: time 0.4757/1.019, allocations: 60.41 MB / 1.074 GB, free: 270.4 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_12_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamProperties.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: 13.522441796958447]