Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001737/0.001737, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002202/0.002202, allocations: 191.8 kB / 22.23 MB, free: 5.16 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.548/1.548, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.892/2.892, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.89 kB / 1.11 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 168.8 MB / 1.274 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.192/1.257, allocations: 136.5 MB / 1.408 GB, free: 11.07 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03268/1.29, allocations: 22.84 MB / 1.43 GB, free: 4.156 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/1.29, allocations: 0 / 1.43 GB, free: 4.156 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003959/1.291, allocations: 43.69 kB / 1.43 GB, free: 4.113 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0005289/1.291, allocations: 99.34 kB / 1.43 GB, free: 4.016 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.02254/1.314, allocations: 6.975 MB / 1.437 GB, free: 13.06 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0005363/1.314, allocations: 259.9 kB / 1.437 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.158e-05/1.314, allocations: 5.75 kB / 1.437 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/1.315, allocations: 143.4 kB / 1.437 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/1.315, allocations: 95.64 kB / 1.437 GB, free: 12.57 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/1.315, allocations: 12 kB / 1.437 GB, free: 12.55 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02627/1.341, allocations: 11.68 MB / 1.449 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/1.341, allocations: 35.89 kB / 1.449 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/1.341, allocations: 83.66 kB / 1.449 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01869/1.36, allocations: 6.493 MB / 1.455 GB, free: 10.23 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/1.36, allocations: 7.938 kB / 1.455 GB, free: 10.23 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.485e-06/1.36, allocations: 0 / 1.455 GB, free: 10.23 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.332e-05/1.36, allocations: 0 / 1.455 GB, free: 10.23 MB / 1.154 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.004047/1.364, allocations: 1.159 MB / 1.456 GB, free: 9.031 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.364, allocations: 12.03 kB / 1.456 GB, free: 9.02 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/1.365, allocations: 88.75 kB / 1.457 GB, free: 8.934 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/1.366, allocations: 170.2 kB / 1.457 GB, free: 8.742 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/1.366, allocations: 16.12 kB / 1.457 GB, free: 8.727 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/1.366, allocations: 16 kB / 1.457 GB, free: 8.711 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/1.367, allocations: 476.5 kB / 1.457 GB, free: 8.227 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.367, allocations: 0 / 1.457 GB, free: 8.227 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/1.367, allocations: 12 kB / 1.457 GB, free: 8.215 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.367, allocations: 4 kB / 1.457 GB, free: 8.211 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/1.368, allocations: 0.6166 MB / 1.458 GB, free: 7.594 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/1.37, allocations: 0.8541 MB / 1.459 GB, free: 6.66 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008646/1.371, allocations: 238.5 kB / 1.459 GB, free: 6.422 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/1.371, allocations: 60.83 kB / 1.459 GB, free: 6.359 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08594/1.457, allocations: 23.09 MB / 1.481 GB, free: 15.22 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/1.457, allocations: 46.53 kB / 1.481 GB, free: 15.16 MB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/1.457, allocations: 7.938 kB / 1.481 GB, free: 15.16 MB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.00191/1.459, allocations: 419.8 kB / 1.482 GB, free: 14.74 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/1.459, allocations: 55.41 kB / 1.482 GB, free: 14.68 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/1.459, allocations: 139.7 kB / 1.482 GB, free: 14.53 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/1.459, allocations: 33.7 kB / 1.482 GB, free: 14.49 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.459, allocations: 108.4 kB / 1.482 GB, free: 14.38 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.924e-05/1.459, allocations: 87.22 kB / 1.482 GB, free: 14.3 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/1.459, allocations: 77.67 kB / 1.482 GB, free: 14.21 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.459, allocations: 330.8 kB / 1.483 GB, free: 13.88 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/1.46, allocations: 83.94 kB / 1.483 GB, free: 13.8 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/1.46, allocations: 125.1 kB / 1.483 GB, free: 13.66 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/1.46, allocations: 222.5 kB / 1.483 GB, free: 13.43 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.46, allocations: 0 / 1.483 GB, free: 13.43 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008415/1.461, allocations: 300.8 kB / 1.483 GB, free: 13.13 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.461, allocations: 4 kB / 1.483 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.461, allocations: 4 kB / 1.483 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.461, allocations: 4.156 kB / 1.483 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/1.462, allocations: 87.88 kB / 1.483 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.462, allocations: 0 / 1.483 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/1.462, allocations: 27.78 kB / 1.484 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/1.462, allocations: 27.95 kB / 1.484 GB, free: 12.98 MB / 1.186 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.0001651/1.462, allocations: 133.7 kB / 1.484 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/1.462, allocations: 19.84 kB / 1.484 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/1.465, allocations: 2.479 MB / 1.486 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/1.465, allocations: 11.98 kB / 1.486 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.465, allocations: 0 / 1.486 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/1.465, allocations: 3.938 kB / 1.486 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/1.47, allocations: 3.607 MB / 1.49 GB, free: 6.598 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/1.47, allocations: 0 / 1.49 GB, free: 6.598 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/1.47, allocations: 59.88 kB / 1.49 GB, free: 6.539 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/1.47, allocations: 0 / 1.49 GB, free: 6.539 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/1.47, allocations: 11.94 kB / 1.49 GB, free: 6.527 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/1.47, allocations: 4 kB / 1.49 GB, free: 6.523 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.47, allocations: 0 / 1.49 GB, free: 6.523 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000974/1.471, allocations: 0.5584 MB / 1.49 GB, free: 5.949 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/1.471, allocations: 63.58 kB / 1.49 GB, free: 5.887 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/1.471, allocations: 7.938 kB / 1.49 GB, free: 5.879 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/1.471, allocations: 15.98 kB / 1.49 GB, free: 5.863 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/1.471, allocations: 19.91 kB / 1.49 GB, free: 5.844 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/1.471, allocations: 15.98 kB / 1.49 GB, free: 5.828 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000104/1.472, allocations: 109.1 kB / 1.49 GB, free: 5.723 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.472, allocations: 3.938 kB / 1.49 GB, free: 5.719 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.005394/1.477, allocations: 1.711 MB / 1.492 GB, free: 4.004 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.01001/1.487, allocations: 1.947 MB / 1.494 GB, free: 2.043 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008713/1.488, allocations: 317 kB / 1.494 GB, free: 1.734 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.488, allocations: 0 / 1.494 GB, free: 1.734 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/1.488, allocations: 200.5 kB / 1.495 GB, free: 1.535 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/1.489, allocations: 64.25 kB / 1.495 GB, free: 1.473 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/1.49, allocations: 0.6511 MB / 1.495 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/1.491, allocations: 0.7699 MB / 1.496 GB, free: 8 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006967/1.491, allocations: 401 kB / 1.496 GB, free: 15.61 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/1.492, allocations: 43.42 kB / 1.496 GB, free: 15.57 MB / 1.201 GB Notification: Performance of SimCode: time 9.62e-07/1.492, allocations: 4 kB / 1.496 GB, free: 15.56 MB / 1.201 GB Notification: Performance of Templates: time 0.09418/1.586, allocations: 59.76 MB / 1.555 GB, free: 3.766 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_11_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.010364814661443]