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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008257/0.0008257, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009582/0.0009581, allocations: 180.6 kB / 16.92 MB, free: 6.652 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.9 MB / 0.667 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6918/0.6921, allocations: 142.4 MB / 0.9557 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1432/0.8354, allocations: 132.3 MB / 1.085 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02776/0.8632, allocations: 24.27 MB / 1.109 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.8634, allocations: 4 kB / 1.109 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.8637, allocations: 35.75 kB / 1.109 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.864, allocations: 83.48 kB / 1.109 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01631/0.8803, allocations: 5.287 MB / 1.114 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.8807, allocations: 303.9 kB / 1.114 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.664e-05/0.8808, allocations: 13.55 kB / 1.114 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.8811, allocations: 131.5 kB / 1.114 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.8813, allocations: 95.59 kB / 1.114 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.8813, allocations: 8 kB / 1.114 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01887/0.9002, allocations: 10.85 MB / 1.125 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.9004, allocations: 31.89 kB / 1.125 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.9005, allocations: 117.3 kB / 1.125 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008116/0.9086, allocations: 4.113 MB / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.9087, allocations: 0 / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9087, allocations: 0 / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.9087, allocations: 0 / 1.129 GB, free: 13.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.004218/0.9129, allocations: 1.139 MB / 1.13 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.913, allocations: 16.02 kB / 1.13 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.9142, allocations: 84.67 kB / 1.13 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.9145, allocations: 232 kB / 1.131 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.9145, allocations: 20.06 kB / 1.131 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.9146, allocations: 16 kB / 1.131 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.9157, allocations: 444.5 kB / 1.131 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.9158, allocations: 0 / 1.131 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.9158, allocations: 8 kB / 1.131 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.9158, allocations: 7.938 kB / 1.131 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.917, allocations: 0.5971 MB / 1.132 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.9182, allocations: 0.8745 MB / 1.132 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007803/0.919, allocations: 250.3 kB / 1.133 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.9191, allocations: 76.83 kB / 1.133 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08597/1.005, allocations: 35.33 MB / 1.167 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/1.005, allocations: 38.56 kB / 1.167 GB, free: 2.742 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/1.005, allocations: 0 / 1.167 GB, free: 2.742 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.001689/1.007, allocations: 431.6 kB / 1.168 GB, free: 2.316 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/1.007, allocations: 55.41 kB / 1.168 GB, free: 2.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/1.007, allocations: 135.7 kB / 1.168 GB, free: 2.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/1.007, allocations: 33.69 kB / 1.168 GB, free: 2.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/1.007, allocations: 112.4 kB / 1.168 GB, free: 1.957 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/1.007, allocations: 90.73 kB / 1.168 GB, free: 1.867 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/1.007, allocations: 29.7 kB / 1.168 GB, free: 1.832 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/1.007, allocations: 326.8 kB / 1.168 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/1.008, allocations: 75.95 kB / 1.169 GB, free: 1.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/1.008, allocations: 125.1 kB / 1.169 GB, free: 1.289 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/1.008, allocations: 226.9 kB / 1.169 GB, free: 1.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.008, allocations: 0 / 1.169 GB, free: 1.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006544/1.009, allocations: 298.9 kB / 1.169 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.009, allocations: 8.156 kB / 1.169 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.009, allocations: 4 kB / 1.169 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/1.009, allocations: 0 / 1.169 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/1.009, allocations: 87.88 kB / 1.169 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/1.009, allocations: 0 / 1.169 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/1.009, allocations: 23.78 kB / 1.169 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/1.009, allocations: 19.98 kB / 1.169 GB, free: 0.6133 MB / 0.92 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.0001246/1.01, allocations: 129.8 kB / 1.169 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.01, allocations: 15.81 kB / 1.169 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/1.012, allocations: 2.347 MB / 1.172 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/1.012, allocations: 11.98 kB / 1.172 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.012, allocations: 4 kB / 1.172 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.012, allocations: 3.938 kB / 1.172 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/1.015, allocations: 3.423 MB / 1.175 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.015, allocations: 4 kB / 1.175 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/1.015, allocations: 59.83 kB / 1.175 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.015, allocations: 0 / 1.175 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/1.015, allocations: 19.92 kB / 1.175 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.015, allocations: 0 / 1.175 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.015, allocations: 0 / 1.175 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000729/1.016, allocations: 0.5419 MB / 1.176 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/1.016, allocations: 144.5 kB / 1.176 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/1.016, allocations: 3.938 kB / 1.176 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/1.017, allocations: 23.98 kB / 1.176 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/1.017, allocations: 19.97 kB / 1.176 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/1.017, allocations: 12 kB / 1.176 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.176e-05/1.017, allocations: 107.2 kB / 1.176 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.017, allocations: 0 / 1.176 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00402/1.021, allocations: 1.624 MB / 1.178 GB, free: 7.961 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.006747/1.028, allocations: 1.901 MB / 1.179 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006044/1.028, allocations: 323.6 kB / 1.18 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.028, allocations: 0 / 1.18 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/1.029, allocations: 237.5 kB / 1.18 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/1.029, allocations: 72.2 kB / 1.18 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/1.03, allocations: 0.8184 MB / 1.181 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/1.03, allocations: 0.7699 MB / 1.182 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/1.031, allocations: 51.41 kB / 1.182 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/1.031, allocations: 0 / 1.182 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.04484/1.075, allocations: 31.46 MB / 1.212 GB, free: 4.234 MB / 0.9669 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches