Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,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_10_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008704, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005417/0.005417, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003945, allocations: 8 kB / 0.8728 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8879/0.8883, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.159/1.047, allocations: 132.2 MB / 1.152 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03024/1.078, allocations: 24.77 MB / 1.176 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/1.078, allocations: 0 / 1.176 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002841/1.078, allocations: 47.73 kB / 1.176 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/1.079, allocations: 79.48 kB / 1.176 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01667/1.095, allocations: 5.489 MB / 1.182 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004511/1.096, allocations: 303.8 kB / 1.182 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.83e-05/1.096, allocations: 17.55 kB / 1.182 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/1.096, allocations: 127.5 kB / 1.182 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/1.096, allocations: 103.6 kB / 1.182 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/1.096, allocations: 4 kB / 1.182 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02218/1.118, allocations: 11.52 MB / 1.194 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/1.119, allocations: 39.88 kB / 1.194 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/1.119, allocations: 101.4 kB / 1.194 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02065/1.139, allocations: 6.495 MB / 1.2 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/1.139, allocations: 0 / 1.2 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.336e-06/1.139, allocations: 4 kB / 1.2 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.14, allocations: 0 / 1.2 GB, free: 9.961 MB / 0.9512 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.005382/1.145, allocations: 1.15 MB / 1.201 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001236/1.145, allocations: 16.02 kB / 1.201 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/1.146, allocations: 84.67 kB / 1.201 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/1.147, allocations: 228 kB / 1.202 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/1.147, allocations: 16.12 kB / 1.202 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/1.147, allocations: 16 kB / 1.202 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/1.148, allocations: 452.5 kB / 1.202 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/1.148, allocations: 0 / 1.202 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/1.148, allocations: 11.94 kB / 1.202 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/1.148, allocations: 7.984 kB / 1.202 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/1.149, allocations: 0.5969 MB / 1.203 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/1.151, allocations: 0.8822 MB / 1.203 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/1.151, allocations: 250.3 kB / 1.204 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/1.151, allocations: 76.83 kB / 1.204 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09051/1.242, allocations: 35.32 MB / 1.238 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/1.242, allocations: 42.5 kB / 1.238 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/1.242, allocations: 7.938 kB / 1.238 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001835/1.244, allocations: 420.6 kB / 1.239 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/1.244, allocations: 55.41 kB / 1.239 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/1.244, allocations: 135.9 kB / 1.239 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/1.244, allocations: 37.69 kB / 1.239 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/1.244, allocations: 112.3 kB / 1.239 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/1.245, allocations: 82.73 kB / 1.239 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/1.245, allocations: 29.7 kB / 1.239 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002429/1.245, allocations: 334.8 kB / 1.239 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/1.245, allocations: 79.95 kB / 1.24 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/1.245, allocations: 129 kB / 1.24 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/1.246, allocations: 223.9 kB / 1.24 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.246, allocations: 0 / 1.24 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007398/1.247, allocations: 297.2 kB / 1.24 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.247, allocations: 4 kB / 1.24 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.247, allocations: 4 kB / 1.24 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.247, allocations: 0 / 1.24 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/1.247, allocations: 88.03 kB / 1.24 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.247, allocations: 0 / 1.24 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/1.247, allocations: 23.78 kB / 1.24 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/1.247, allocations: 23.98 kB / 1.24 GB, free: 13.39 MB / 0.9981 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.0001588/1.247, allocations: 130.3 kB / 1.24 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/1.248, allocations: 15.81 kB / 1.24 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/1.25, allocations: 2.35 MB / 1.243 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/1.25, allocations: 11.98 kB / 1.243 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.25, allocations: 4 kB / 1.243 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/1.25, allocations: 11.88 kB / 1.243 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/1.254, allocations: 3.415 MB / 1.246 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.254, allocations: 0 / 1.246 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/1.254, allocations: 59.89 kB / 1.246 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.254, allocations: 0 / 1.246 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/1.254, allocations: 15.92 kB / 1.246 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/1.254, allocations: 4 kB / 1.246 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.254, allocations: 0 / 1.246 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/1.255, allocations: 0.5457 MB / 1.247 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/1.255, allocations: 140.5 kB / 1.247 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/1.255, allocations: 7.938 kB / 1.247 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/1.255, allocations: 19.98 kB / 1.247 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/1.255, allocations: 19.97 kB / 1.247 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/1.255, allocations: 12 kB / 1.247 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.132e-05/1.255, allocations: 113.4 kB / 1.247 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.255, allocations: 0 / 1.247 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004502/1.26, allocations: 1.69 MB / 1.249 GB, free: 4.668 MB / 0.9981 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.008865/1.269, allocations: 1.931 MB / 1.251 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006289/1.269, allocations: 324.3 kB / 1.251 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.269, allocations: 0 / 1.251 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/1.27, allocations: 252.3 kB / 1.251 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/1.27, allocations: 60.25 kB / 1.251 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/1.272, allocations: 0.7985 MB / 1.252 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/1.272, allocations: 0.7661 MB / 1.253 GB, free: 500 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000601/1.273, allocations: 405 kB / 1.253 GB, free: 92 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/1.273, allocations: 47.41 kB / 1.253 GB, free: 44 kB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/1.273, allocations: 0 / 1.253 GB, free: 44 kB / 0.9981 GB Notification: Performance of Templates: time 0.696/1.969, allocations: 59.37 MB / 1.311 GB, free: 187.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_10_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches