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.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.001062/0.001062, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009307/0.0009307, allocations: 173 kB / 23.49 MB, free: 1.059 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.064/1.064, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 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.136/2.136, allocations: 429.5 MB / 0.6736 GB, free: 4.074 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|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.[0-9,]+.|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 2.024e-06/2.024e-06, allocations: 0 / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.976e-05, allocations: 7.062 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1241/0.1242, allocations: 131.6 MB / 1.007 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.02272/0.1469, allocations: 22.26 MB / 1.028 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.1471, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.1474, allocations: 47.62 kB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.1478, allocations: 99.3 kB / 1.029 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01638/0.1641, allocations: 6.996 MB / 1.035 GB, free: 5.109 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.1646, allocations: 255.8 kB / 1.036 GB, free: 4.855 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.1646, allocations: 9.812 kB / 1.036 GB, free: 4.848 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.165, allocations: 187.4 kB / 1.036 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1652, allocations: 71.78 kB / 1.036 GB, free: 4.594 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.1652, allocations: 16 kB / 1.036 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/0.1824, allocations: 11.13 MB / 1.047 GB, free: 9.438 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.1825, allocations: 47.81 kB / 1.047 GB, free: 9.391 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1827, allocations: 59.89 kB / 1.047 GB, free: 9.332 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01947/0.2021, allocations: 8.357 MB / 1.055 GB, free: 0.957 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.2021, allocations: 0 / 1.055 GB, free: 0.957 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2022, allocations: 0 / 1.055 GB, free: 0.957 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.2022, allocations: 0 / 1.055 GB, free: 0.957 MB / 1.01 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.4569/0.6591, allocations: 1.264 MB / 1.056 GB, free: 217.9 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.6591, allocations: 8.906 kB / 1.056 GB, free: 217.9 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.6602, allocations: 152.8 kB / 1.056 GB, free: 217.9 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.6605, allocations: 178.9 kB / 1.057 GB, free: 217.8 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.6605, allocations: 11.42 kB / 1.057 GB, free: 217.8 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.6605, allocations: 15.88 kB / 1.057 GB, free: 217.8 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.6614, allocations: 0.6402 MB / 1.057 GB, free: 217.4 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.6614, allocations: 2.531 kB / 1.057 GB, free: 217.4 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.6615, allocations: 6.469 kB / 1.057 GB, free: 217.4 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.6615, allocations: 5.344 kB / 1.057 GB, free: 217.4 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008431/0.6623, allocations: 493.4 kB / 1.058 GB, free: 217.4 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008029/0.6631, allocations: 0.8693 MB / 1.059 GB, free: 216.7 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/0.6637, allocations: 263.5 kB / 1.059 GB, free: 216.6 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.6638, allocations: 65.52 kB / 1.059 GB, free: 216.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05282/0.7166, allocations: 23.53 MB / 1.082 GB, free: 214.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.7167, allocations: 41.33 kB / 1.082 GB, free: 214.1 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 2.064e-06/0.7167, allocations: 1.75 kB / 1.082 GB, free: 214.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.001276/0.7179, allocations: 471.9 kB / 1.082 GB, free: 214 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.718, allocations: 57.81 kB / 1.082 GB, free: 213.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.7181, allocations: 182.6 kB / 1.083 GB, free: 213.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.7181, allocations: 31.17 kB / 1.083 GB, free: 213.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.7182, allocations: 164.1 kB / 1.083 GB, free: 213.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/0.7182, allocations: 90.34 kB / 1.083 GB, free: 213.5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.7183, allocations: 91.31 kB / 1.083 GB, free: 213.4 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.626e-05/0.7184, allocations: 0.4909 MB / 1.083 GB, free: 212.9 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.7185, allocations: 90.58 kB / 1.084 GB, free: 212.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.7187, allocations: 152.2 kB / 1.084 GB, free: 212.8 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.7191, allocations: 254.1 kB / 1.084 GB, free: 212.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.7191, allocations: 0 / 1.084 GB, free: 212.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006114/0.7197, allocations: 343.7 kB / 1.084 GB, free: 212.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.7197, allocations: 4.969 kB / 1.084 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7197, allocations: 7.031 kB / 1.084 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.7198, allocations: 6.531 kB / 1.084 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.7199, allocations: 80.02 kB / 1.084 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.72, allocations: 7.609 kB / 1.084 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.72, allocations: 17.94 kB / 1.084 GB, free: 212.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.7201, allocations: 27.48 kB / 1.084 GB, free: 212.6 MB / 1.01 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 8.938e-05/0.7202, allocations: 169.8 kB / 1.085 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.7203, allocations: 47.97 kB / 1.085 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.7218, allocations: 1.606 MB / 1.086 GB, free: 212.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.7218, allocations: 13.11 kB / 1.086 GB, free: 212.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.7218, allocations: 0 / 1.086 GB, free: 212.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.7218, allocations: 2.109 kB / 1.086 GB, free: 212.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.7237, allocations: 2.215 MB / 1.088 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.7237, allocations: 6.078 kB / 1.088 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.7239, allocations: 62.25 kB / 1.088 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.7239, allocations: 2.172 kB / 1.088 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.7239, allocations: 12.06 kB / 1.088 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.7239, allocations: 1.922 kB / 1.088 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7239, allocations: 1.312 kB / 1.088 GB, free: 211.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.7245, allocations: 0.5274 MB / 1.089 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.7246, allocations: 60.83 kB / 1.089 GB, free: 211.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.7246, allocations: 7.281 kB / 1.089 GB, free: 211.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.7247, allocations: 10.48 kB / 1.089 GB, free: 211.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.7247, allocations: 19.28 kB / 1.089 GB, free: 211.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.7248, allocations: 14.91 kB / 1.089 GB, free: 211.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.7248, allocations: 139.5 kB / 1.089 GB, free: 211 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7248, allocations: 0 / 1.089 GB, free: 211 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004333/0.7291, allocations: 1.728 MB / 1.091 GB, free: 210.7 MB / 1.01 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.007154/0.7363, allocations: 2.204 MB / 1.093 GB, free: 210.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005858/0.7369, allocations: 280.2 kB / 1.093 GB, free: 210.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7369, allocations: 0.7656 kB / 1.093 GB, free: 210.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.7371, allocations: 159.3 kB / 1.093 GB, free: 210.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.7375, allocations: 98.53 kB / 1.094 GB, free: 210.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.7386, allocations: 0.5672 MB / 1.094 GB, free: 209.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.438e-05/0.7386, allocations: 99.31 kB / 1.094 GB, free: 209.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004765/0.7391, allocations: 404.2 kB / 1.095 GB, free: 209.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.7392, allocations: 46.17 kB / 1.095 GB, free: 209.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.513e-06/0.7392, allocations: 0 / 1.095 GB, free: 209.7 MB / 1.01 GB Notification: Performance of Templates: time 0.06056/0.7998, allocations: 61.68 MB / 1.155 GB, free: 162.1 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","",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.581416325177997]