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.001384/0.001384, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001567/0.001567, allocations: 187.9 kB / 22.22 MB, free: 5.105 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.344/1.344, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.929/2.929, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001882/0.001882, allocations: 67.27 kB / 1.145 GB, free: 30.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3203, allocations: 174.9 MB / 1.316 GB, free: 9.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1532/0.4735, allocations: 136.5 MB / 1.449 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02693/0.5005, allocations: 22.83 MB / 1.472 GB, free: 9.895 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.5006, allocations: 0 / 1.472 GB, free: 9.895 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.5009, allocations: 47.67 kB / 1.472 GB, free: 9.848 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.5012, allocations: 103.3 kB / 1.472 GB, free: 9.746 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01581/0.517, allocations: 6.97 MB / 1.479 GB, free: 2.785 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.5174, allocations: 251.9 kB / 1.479 GB, free: 2.539 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.5175, allocations: 9.75 kB / 1.479 GB, free: 2.527 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.5178, allocations: 151.4 kB / 1.479 GB, free: 2.379 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.518, allocations: 91.59 kB / 1.479 GB, free: 2.289 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.518, allocations: 8 kB / 1.479 GB, free: 2.281 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02119/0.5392, allocations: 11.68 MB / 1.49 GB, free: 6.59 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.5393, allocations: 35.89 kB / 1.491 GB, free: 6.555 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.5394, allocations: 83.64 kB / 1.491 GB, free: 6.473 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.5537, allocations: 6.501 MB / 1.497 GB, free: 15.96 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5537, allocations: 0 / 1.497 GB, free: 15.96 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5537, allocations: 0 / 1.497 GB, free: 15.96 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.5537, allocations: 4 kB / 1.497 GB, free: 15.95 MB / 1.201 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.002832/0.5565, allocations: 1.167 MB / 1.498 GB, free: 14.75 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5566, allocations: 8.031 kB / 1.498 GB, free: 14.74 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.5576, allocations: 84.75 kB / 1.498 GB, free: 14.66 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.5579, allocations: 174.2 kB / 1.498 GB, free: 14.46 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.5579, allocations: 16.12 kB / 1.498 GB, free: 14.45 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.5579, allocations: 16 kB / 1.498 GB, free: 14.43 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.559, allocations: 478.3 kB / 1.499 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.5591, allocations: 0 / 1.499 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.5591, allocations: 8 kB / 1.499 GB, free: 13.94 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.5591, allocations: 4 kB / 1.499 GB, free: 13.94 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.5603, allocations: 0.6166 MB / 1.499 GB, free: 13.32 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.5614, allocations: 0.8541 MB / 1.5 GB, free: 12.39 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008061/0.5622, allocations: 239.7 kB / 1.501 GB, free: 12.14 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.5624, allocations: 61.48 kB / 1.501 GB, free: 12.08 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07775/0.6401, allocations: 23.09 MB / 1.523 GB, free: 4.949 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.6402, allocations: 38.5 kB / 1.523 GB, free: 4.902 MB / 1.217 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.6402, allocations: 0 / 1.523 GB, free: 4.902 MB / 1.217 GB Notification: Performance of matching and sorting (n=25): time 0.001802/0.642, allocations: 419.8 kB / 1.524 GB, free: 4.488 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.642, allocations: 51.41 kB / 1.524 GB, free: 4.426 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.6421, allocations: 140.2 kB / 1.524 GB, free: 4.281 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.6422, allocations: 33.7 kB / 1.524 GB, free: 4.242 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.6423, allocations: 112.4 kB / 1.524 GB, free: 4.129 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.6423, allocations: 95.2 kB / 1.524 GB, free: 4.035 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.6425, allocations: 77.66 kB / 1.524 GB, free: 3.953 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6426, allocations: 326.8 kB / 1.524 GB, free: 3.625 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.6428, allocations: 79.95 kB / 1.524 GB, free: 3.547 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.643, allocations: 137 kB / 1.525 GB, free: 3.395 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.6434, allocations: 218.8 kB / 1.525 GB, free: 3.164 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6434, allocations: 0 / 1.525 GB, free: 3.164 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007576/0.6442, allocations: 302.2 kB / 1.525 GB, free: 2.863 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6442, allocations: 8 kB / 1.525 GB, free: 2.855 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6442, allocations: 0 / 1.525 GB, free: 2.855 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.6443, allocations: 7.938 kB / 1.525 GB, free: 2.848 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.6446, allocations: 83.88 kB / 1.525 GB, free: 2.766 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.6446, allocations: 4 kB / 1.525 GB, free: 2.762 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.6447, allocations: 19.78 kB / 1.525 GB, free: 2.742 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.6448, allocations: 27.98 kB / 1.525 GB, free: 2.715 MB / 1.217 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.0001334/0.6449, allocations: 131 kB / 1.525 GB, free: 2.578 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.6451, allocations: 23.91 kB / 1.525 GB, free: 2.555 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.6477, allocations: 2.479 MB / 1.528 GB, free: 68 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.6477, allocations: 15.97 kB / 1.528 GB, free: 52 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.6477, allocations: 0 / 1.528 GB, free: 52 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.6477, allocations: 3.938 kB / 1.528 GB, free: 48 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.6514, allocations: 3.602 MB / 1.531 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6514, allocations: 0 / 1.531 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.6517, allocations: 55.89 kB / 1.531 GB, free: 12.28 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.6517, allocations: 7.938 kB / 1.531 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.6517, allocations: 15.92 kB / 1.531 GB, free: 12.26 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6517, allocations: 0 / 1.531 GB, free: 12.26 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.6517, allocations: 3.984 kB / 1.531 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008342/0.6526, allocations: 0.5545 MB / 1.532 GB, free: 11.68 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.6527, allocations: 71.5 kB / 1.532 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.6527, allocations: 11.94 kB / 1.532 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.6529, allocations: 15.98 kB / 1.532 GB, free: 11.59 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.653, allocations: 15.97 kB / 1.532 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.653, allocations: 12 kB / 1.532 GB, free: 11.56 MB / 1.232 GB Notification: Performance of sorting global known variables: time 8.504e-05/0.6531, allocations: 109.1 kB / 1.532 GB, free: 11.45 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6531, allocations: 0 / 1.532 GB, free: 11.45 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004661/0.6577, allocations: 1.707 MB / 1.534 GB, free: 9.742 MB / 1.232 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.009053/0.6668, allocations: 1.944 MB / 1.536 GB, free: 7.785 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0007848/0.6676, allocations: 317.8 kB / 1.536 GB, free: 7.473 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6676, allocations: 320 / 1.536 GB, free: 7.473 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.6679, allocations: 204.4 kB / 1.536 GB, free: 7.273 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.6685, allocations: 67.88 kB / 1.536 GB, free: 7.207 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.6698, allocations: 0.6511 MB / 1.537 GB, free: 6.531 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.6701, allocations: 0.766 MB / 1.538 GB, free: 5.734 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006423/0.6708, allocations: 409 kB / 1.538 GB, free: 5.332 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.671, allocations: 47.41 kB / 1.538 GB, free: 5.285 MB / 1.232 GB Notification: Performance of SimCode: time 1.172e-06/0.671, allocations: 0 / 1.538 GB, free: 5.285 MB / 1.232 GB Notification: Performance of Templates: time 0.08952/0.7605, allocations: 59.77 MB / 1.596 GB, free: 9.477 MB / 1.295 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 12.72597578074783]