Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00109/0.00109, allocations: 90.83 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.00927/0.00927, allocations: 172.2 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.9 MB / 0.6663 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 8 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.686, allocations: 142.4 MB / 0.955 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1526/0.8387, allocations: 132.3 MB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03206/0.8708, allocations: 24.27 MB / 1.108 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.8711, allocations: 8 kB / 1.108 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.8715, allocations: 31.8 kB / 1.108 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.8719, allocations: 79.5 kB / 1.108 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01799/0.8899, allocations: 5.289 MB / 1.113 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.8903, allocations: 307.8 kB / 1.113 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 6.229e-05/0.8904, allocations: 9.562 kB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.8908, allocations: 139.4 kB / 1.114 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.891, allocations: 87.67 kB / 1.114 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.891, allocations: 11.94 kB / 1.114 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01976/0.9108, allocations: 10.86 MB / 1.124 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.9109, allocations: 27.91 kB / 1.124 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.9111, allocations: 109.3 kB / 1.124 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01699/0.9281, allocations: 6.156 MB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.9282, allocations: 4 kB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9282, allocations: 4 kB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.9282, allocations: 0 / 1.13 GB, free: 11.16 MB / 0.8887 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.003907/0.9321, allocations: 1.15 MB / 1.132 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.9322, allocations: 8.031 kB / 1.132 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.9334, allocations: 92.59 kB / 1.132 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.9337, allocations: 224 kB / 1.132 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.9337, allocations: 20.12 kB / 1.132 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.9338, allocations: 16 kB / 1.132 GB, free: 9.566 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.9349, allocations: 452.5 kB / 1.132 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.935, allocations: 0 / 1.132 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.935, allocations: 4 kB / 1.132 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.935, allocations: 4 kB / 1.132 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.9363, allocations: 0.597 MB / 1.133 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.9375, allocations: 0.8822 MB / 1.134 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008325/0.9383, allocations: 250.3 kB / 1.134 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.9385, allocations: 72.83 kB / 1.134 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08697/1.025, allocations: 35.33 MB / 1.169 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.026, allocations: 46.5 kB / 1.169 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/1.026, allocations: 0 / 1.169 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.001645/1.027, allocations: 427.6 kB / 1.169 GB, free: 312 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/1.027, allocations: 51.41 kB / 1.169 GB, free: 248 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/1.027, allocations: 139.4 kB / 1.169 GB, free: 100 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/1.027, allocations: 29.7 kB / 1.169 GB, free: 64 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/1.028, allocations: 108.3 kB / 1.169 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/1.028, allocations: 90.73 kB / 1.169 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/1.028, allocations: 25.7 kB / 1.17 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.028, allocations: 334.8 kB / 1.17 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/1.028, allocations: 75.95 kB / 1.17 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/1.028, allocations: 133.1 kB / 1.17 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/1.029, allocations: 215 kB / 1.17 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.029, allocations: 3.938 kB / 1.17 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006739/1.029, allocations: 302.9 kB / 1.171 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.029, allocations: 4 kB / 1.171 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.029, allocations: 0 / 1.171 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.029, allocations: 12.09 kB / 1.171 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/1.03, allocations: 75.94 kB / 1.171 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.03, allocations: 7.938 kB / 1.171 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/1.03, allocations: 23.77 kB / 1.171 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/1.03, allocations: 23.98 kB / 1.171 GB, free: 14.6 MB / 0.9356 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.0001311/1.03, allocations: 125.8 kB / 1.171 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/1.03, allocations: 19.75 kB / 1.171 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/1.032, allocations: 2.34 MB / 1.173 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/1.032, allocations: 11.98 kB / 1.173 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.033, allocations: 4 kB / 1.173 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/1.033, allocations: 11.92 kB / 1.173 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/1.036, allocations: 3.423 MB / 1.176 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.036, allocations: 0 / 1.176 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/1.036, allocations: 47.95 kB / 1.177 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.036, allocations: 7.938 kB / 1.177 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/1.036, allocations: 11.88 kB / 1.177 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.036, allocations: 7.984 kB / 1.177 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.036, allocations: 4 kB / 1.177 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007298/1.037, allocations: 0.5418 MB / 1.177 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/1.037, allocations: 144.5 kB / 1.177 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/1.037, allocations: 7.938 kB / 1.177 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/1.037, allocations: 19.98 kB / 1.177 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/1.037, allocations: 11.98 kB / 1.177 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/1.037, allocations: 19.98 kB / 1.177 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.77e-05/1.037, allocations: 104.8 kB / 1.177 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/1.037, allocations: 0 / 1.177 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00402/1.041, allocations: 1.628 MB / 1.179 GB, free: 5.949 MB / 0.9356 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.007024/1.048, allocations: 1.895 MB / 1.181 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000643/1.049, allocations: 323.6 kB / 1.181 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.049, allocations: 8 kB / 1.181 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000295/1.049, allocations: 237.2 kB / 1.181 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/1.05, allocations: 66.05 kB / 1.181 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/1.051, allocations: 0.7931 MB / 1.182 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/1.051, allocations: 0.7661 MB / 1.183 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005591/1.052, allocations: 416.9 kB / 1.183 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/1.052, allocations: 47.41 kB / 1.183 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of SimCode: time 3.8e-07/1.052, allocations: 0 / 1.183 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of Templates: time 0.07696/1.129, allocations: 57 MB / 1.239 GB, free: 8.324 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_9_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches