Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 112.2 kB / 17.08 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 195.6 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 245.7 MB, free: 4.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 489.3 MB / 0.7687 GB, free: 3.734 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.89 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8985/0.9004, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1606/1.061, allocations: 136.1 MB / 1.395 GB, free: 4.609 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.029/1.09, allocations: 22.68 MB / 1.418 GB, free: 2.645 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/1.09, allocations: 9.406 kB / 1.418 GB, free: 2.637 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002999/1.091, allocations: 55.66 kB / 1.418 GB, free: 2.59 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003279/1.091, allocations: 85.41 kB / 1.418 GB, free: 2.52 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.02162/1.113, allocations: 6.95 MB / 1.425 GB, free: 13.81 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004447/1.113, allocations: 252.5 kB / 1.425 GB, free: 13.68 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/1.113, allocations: 9.781 kB / 1.425 GB, free: 13.67 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/1.113, allocations: 137.7 kB / 1.425 GB, free: 13.6 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/1.114, allocations: 89.81 kB / 1.425 GB, free: 13.55 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/1.114, allocations: 7.75 kB / 1.425 GB, free: 13.55 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02487/1.139, allocations: 11.64 MB / 1.436 GB, free: 6.164 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/1.139, allocations: 43.83 kB / 1.436 GB, free: 6.121 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/1.139, allocations: 83.64 kB / 1.437 GB, free: 6.039 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01705/1.156, allocations: 6.482 MB / 1.443 GB, free: 15.54 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.156, allocations: 0 / 1.443 GB, free: 15.54 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.808e-06/1.156, allocations: 0 / 1.443 GB, free: 15.54 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.156, allocations: 7.875 kB / 1.443 GB, free: 15.54 MB / 1.139 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.003582/1.16, allocations: 1.246 MB / 1.444 GB, free: 14.23 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.16, allocations: 8.031 kB / 1.444 GB, free: 14.23 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/1.161, allocations: 88.77 kB / 1.444 GB, free: 14.14 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/1.161, allocations: 232.1 kB / 1.444 GB, free: 13.88 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/1.161, allocations: 16.12 kB / 1.444 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/1.161, allocations: 12 kB / 1.444 GB, free: 13.85 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/1.162, allocations: 444.8 kB / 1.445 GB, free: 13.39 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.162, allocations: 0 / 1.445 GB, free: 13.39 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/1.162, allocations: 4 kB / 1.445 GB, free: 13.39 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/1.162, allocations: 15.98 kB / 1.445 GB, free: 13.38 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/1.164, allocations: 0.5892 MB / 1.445 GB, free: 12.79 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/1.165, allocations: 0.89 MB / 1.446 GB, free: 11.81 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/1.166, allocations: 262.2 kB / 1.447 GB, free: 11.54 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/1.166, allocations: 77.27 kB / 1.447 GB, free: 11.46 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09277/1.259, allocations: 35.41 MB / 1.481 GB, free: 4.957 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/1.259, allocations: 34.56 kB / 1.481 GB, free: 4.914 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/1.259, allocations: 0 / 1.481 GB, free: 4.914 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.001802/1.26, allocations: 429.3 kB / 1.482 GB, free: 4.488 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/1.261, allocations: 55.41 kB / 1.482 GB, free: 4.422 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.261, allocations: 139 kB / 1.482 GB, free: 4.277 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/1.261, allocations: 33.7 kB / 1.482 GB, free: 4.238 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/1.261, allocations: 116.5 kB / 1.482 GB, free: 4.121 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/1.261, allocations: 87.22 kB / 1.482 GB, free: 4.035 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/1.261, allocations: 73.67 kB / 1.482 GB, free: 3.957 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.261, allocations: 330.8 kB / 1.482 GB, free: 3.625 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/1.261, allocations: 83.94 kB / 1.483 GB, free: 3.543 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/1.262, allocations: 125.6 kB / 1.483 GB, free: 3.402 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/1.262, allocations: 225.8 kB / 1.483 GB, free: 3.164 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.262, allocations: 3.938 kB / 1.483 GB, free: 3.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007974/1.263, allocations: 297.3 kB / 1.483 GB, free: 2.863 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.263, allocations: 6.031 kB / 1.483 GB, free: 2.859 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.263, allocations: 7.938 kB / 1.483 GB, free: 2.852 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.263, allocations: 0 / 1.483 GB, free: 2.852 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/1.263, allocations: 84.09 kB / 1.483 GB, free: 2.77 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.263, allocations: 7.922 kB / 1.483 GB, free: 2.762 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/1.264, allocations: 27.78 kB / 1.483 GB, free: 2.734 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/1.264, allocations: 27.97 kB / 1.483 GB, free: 2.707 MB / 1.17 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.0001389/1.264, allocations: 125.8 kB / 1.483 GB, free: 2.574 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/1.264, allocations: 15.91 kB / 1.483 GB, free: 2.559 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/1.267, allocations: 2.338 MB / 1.486 GB, free: 208 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/1.267, allocations: 11.98 kB / 1.486 GB, free: 196 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.267, allocations: 4 kB / 1.486 GB, free: 192 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.267, allocations: 3.938 kB / 1.486 GB, free: 188 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/1.271, allocations: 3.427 MB / 1.489 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.271, allocations: 4 kB / 1.489 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/1.271, allocations: 63.88 kB / 1.489 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.271, allocations: 0 / 1.489 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/1.271, allocations: 11.94 kB / 1.489 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/1.271, allocations: 0 / 1.489 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.271, allocations: 0 / 1.489 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/1.272, allocations: 0.5467 MB / 1.49 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/1.272, allocations: 140.7 kB / 1.49 GB, free: 11.85 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/1.272, allocations: 11.92 kB / 1.49 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/1.272, allocations: 12 kB / 1.49 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/1.272, allocations: 19.97 kB / 1.49 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/1.272, allocations: 12 kB / 1.49 GB, free: 11.79 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.151e-05/1.272, allocations: 107.2 kB / 1.49 GB, free: 11.69 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/1.272, allocations: 4 kB / 1.49 GB, free: 11.68 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004203/1.277, allocations: 1.703 MB / 1.492 GB, free: 9.977 MB / 1.186 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.0079/1.285, allocations: 1.955 MB / 1.494 GB, free: 8.008 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006979/1.285, allocations: 320.3 kB / 1.494 GB, free: 7.695 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.285, allocations: 0 / 1.494 GB, free: 7.695 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003418/1.286, allocations: 245.4 kB / 1.494 GB, free: 7.457 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/1.286, allocations: 70.44 kB / 1.494 GB, free: 7.391 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/1.287, allocations: 0.663 MB / 1.495 GB, free: 6.695 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/1.288, allocations: 0.766 MB / 1.496 GB, free: 5.906 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/1.288, allocations: 59.41 kB / 1.496 GB, free: 5.848 MB / 1.186 GB Notification: Performance of SimCode: time 2.4e-07/1.288, allocations: 3.938 kB / 1.496 GB, free: 5.844 MB / 1.186 GB Notification: Performance of Templates: time 0.05162/1.339, allocations: 32.7 MB / 1.528 GB, free: 5.113 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.278374174842611]