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.001861/0.001861, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002051/0.002051, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.587/1.587, allocations: 177.1 MB / 203.9 MB, free: 5.621 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 3.129/3.129, 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 1.512e-06/1.512e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.2e-05, allocations: 5.422 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.199/0.199, allocations: 131.6 MB / 0.9393 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.03612/0.2351, allocations: 22.26 MB / 0.961 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.2353, allocations: 3.938 kB / 0.961 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.2356, allocations: 39.7 kB / 0.9611 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.2361, allocations: 107.2 kB / 0.9612 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02338/0.2594, allocations: 6.993 MB / 0.968 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004784/0.2599, allocations: 255.7 kB / 0.9682 GB, free: 380 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.26, allocations: 21.78 kB / 0.9683 GB, free: 360 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004953/0.2605, allocations: 183.4 kB / 0.9684 GB, free: 176 kB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.2607, allocations: 75.78 kB / 0.9685 GB, free: 100 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/0.2607, allocations: 8 kB / 0.9685 GB, free: 92 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02537/0.2861, allocations: 11.13 MB / 0.9794 GB, free: 4.949 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.2862, allocations: 43.81 kB / 0.9794 GB, free: 4.906 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.2864, allocations: 67.89 kB / 0.9795 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.02071/0.3071, allocations: 8.372 MB / 0.9877 GB, free: 12.45 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3071, allocations: 0 / 0.9877 GB, free: 12.45 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3071, allocations: 0 / 0.9877 GB, free: 12.45 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3071, allocations: 0 / 0.9877 GB, free: 12.45 MB / 0.948 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.004128/0.3113, allocations: 1.262 MB / 0.9889 GB, free: 11.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.3113, allocations: 12.03 kB / 0.9889 GB, free: 11.13 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.3126, allocations: 148.3 kB / 0.989 GB, free: 10.99 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.3129, allocations: 180.3 kB / 0.9892 GB, free: 10.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.3129, allocations: 12.12 kB / 0.9892 GB, free: 10.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.313, allocations: 20.38 kB / 0.9892 GB, free: 10.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.3144, allocations: 0.5969 MB / 0.9898 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3144, allocations: 0 / 0.9898 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.3144, allocations: 8 kB / 0.9898 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.3144, allocations: 4 kB / 0.9898 GB, free: 10.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.3158, allocations: 0.5112 MB / 0.9903 GB, free: 9.562 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.3172, allocations: 0.8827 MB / 0.9912 GB, free: 8.629 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/0.3182, allocations: 254.9 kB / 0.9914 GB, free: 8.367 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.3183, allocations: 76.03 kB / 0.9915 GB, free: 8.289 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09732/0.4156, allocations: 23.54 MB / 1.015 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.4157, allocations: 33.39 kB / 1.015 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 2.013e-06/0.4157, allocations: 4 kB / 1.015 GB, free: 0.6523 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.002177/0.4179, allocations: 469 kB / 1.015 GB, free: 192 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4179, allocations: 51.41 kB / 1.015 GB, free: 128 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.4181, allocations: 201.2 kB / 1.015 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.4182, allocations: 29.7 kB / 1.015 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.4183, allocations: 163.2 kB / 1.015 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.4184, allocations: 83.23 kB / 1.015 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.4186, allocations: 87.31 kB / 1.016 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000319/0.4189, allocations: 0.4962 MB / 1.016 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.4193, allocations: 83.95 kB / 1.016 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.4196, allocations: 154.1 kB / 1.016 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.4202, allocations: 252.3 kB / 1.017 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4202, allocations: 3.938 kB / 1.017 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009901/0.4212, allocations: 341.9 kB / 1.017 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4212, allocations: 4 kB / 1.017 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4212, allocations: 16.08 kB / 1.017 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.4213, allocations: 0 / 1.017 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.4216, allocations: 87.88 kB / 1.017 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4216, allocations: 3.938 kB / 1.017 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.4218, allocations: 19.89 kB / 1.017 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.4219, allocations: 23.97 kB / 1.017 GB, free: 14.01 MB / 0.9792 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.0002001/0.4221, allocations: 172.5 kB / 1.017 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.4223, allocations: 43.66 kB / 1.017 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.4246, allocations: 1.532 MB / 1.019 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.4246, allocations: 23.95 kB / 1.019 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4246, allocations: 0 / 1.019 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4246, allocations: 0 / 1.019 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003646/0.4283, allocations: 2.139 MB / 1.021 GB, free: 9.988 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.4283, allocations: 4 kB / 1.021 GB, free: 9.984 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.4286, allocations: 51.95 kB / 1.021 GB, free: 9.934 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.689e-05/0.4286, allocations: 7.938 kB / 1.021 GB, free: 9.926 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.4286, allocations: 7.984 kB / 1.021 GB, free: 9.918 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/0.4286, allocations: 8 kB / 1.021 GB, free: 9.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4286, allocations: 0 / 1.021 GB, free: 9.91 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.4298, allocations: 0.5591 MB / 1.021 GB, free: 9.332 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.4299, allocations: 59.64 kB / 1.022 GB, free: 9.273 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.43, allocations: 11.98 kB / 1.022 GB, free: 9.262 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.4302, allocations: 8 kB / 1.022 GB, free: 9.254 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.4303, allocations: 15.97 kB / 1.022 GB, free: 9.238 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.4303, allocations: 15.98 kB / 1.022 GB, free: 9.223 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001158/0.4304, allocations: 135.2 kB / 1.022 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.4304, allocations: 0 / 1.022 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005872/0.4363, allocations: 1.723 MB / 1.023 GB, free: 7.363 MB / 0.9792 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.01051/0.4468, allocations: 2.209 MB / 1.026 GB, free: 5.141 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007848/0.4476, allocations: 294.6 kB / 1.026 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.4476, allocations: 4 kB / 1.026 GB, free: 4.844 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.448, allocations: 181.5 kB / 1.026 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.4487, allocations: 95.83 kB / 1.026 GB, free: 4.57 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.45, allocations: 0.5671 MB / 1.027 GB, free: 3.969 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.4502, allocations: 156.7 kB / 1.027 GB, free: 3.789 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007046/0.4509, allocations: 404.7 kB / 1.027 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.4511, allocations: 52.47 kB / 1.027 GB, free: 3.344 MB / 0.9792 GB Notification: Performance of SimCode: time 1.112e-06/0.4511, allocations: 0 / 1.027 GB, free: 3.344 MB / 0.9792 GB Notification: Performance of Templates: time 0.4367/0.8878, allocations: 61.66 MB / 1.087 GB, free: 262.8 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] 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.228497899021022]