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.001585/0.001585, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001916/0.001916, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.382/2.382, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.91 kB / 0.8118 GB, free: 14.94 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6602, allocations: 140.3 MB / 0.9489 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.152/0.8122, allocations: 134.1 MB / 1.08 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02987/0.8421, allocations: 24.64 MB / 1.104 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.8424, allocations: 4 kB / 1.104 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.8427, allocations: 39.73 kB / 1.104 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.8431, allocations: 87.42 kB / 1.104 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01619/0.8593, allocations: 5.29 MB / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.8597, allocations: 299.9 kB / 1.109 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.8597, allocations: 13.55 kB / 1.109 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.8601, allocations: 143.4 kB / 1.11 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.8602, allocations: 87.66 kB / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.8602, allocations: 8 kB / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/0.879, allocations: 10.85 MB / 1.12 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.8791, allocations: 39.88 kB / 1.12 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.8793, allocations: 87.59 kB / 1.12 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.8942, allocations: 6.183 MB / 1.126 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.8943, allocations: 7.984 kB / 1.126 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8943, allocations: 0 / 1.126 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.8943, allocations: 0 / 1.126 GB, free: 11.77 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.003987/0.8983, allocations: 1.183 MB / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.8983, allocations: 8.031 kB / 1.128 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.8995, allocations: 80.67 kB / 1.128 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.8997, allocations: 240 kB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.8997, allocations: 16.12 kB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.8998, allocations: 16 kB / 1.128 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.9009, allocations: 448.5 kB / 1.128 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.901, allocations: 3.938 kB / 1.128 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.901, allocations: 4 kB / 1.128 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.901, allocations: 7.984 kB / 1.128 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.9022, allocations: 0.5932 MB / 1.129 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.9034, allocations: 0.8667 MB / 1.13 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.9043, allocations: 266.3 kB / 1.13 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.9044, allocations: 72.83 kB / 1.13 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08281/0.9872, allocations: 35.04 MB / 1.164 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.9873, allocations: 34.56 kB / 1.164 GB, free: 1.609 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.9873, allocations: 0 / 1.164 GB, free: 1.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.00186/0.9892, allocations: 423.7 kB / 1.165 GB, free: 1.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.9892, allocations: 55.41 kB / 1.165 GB, free: 1.125 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.9894, allocations: 145.7 kB / 1.165 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.9894, allocations: 33.7 kB / 1.165 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.9895, allocations: 100.5 kB / 1.165 GB, free: 0.832 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.9896, allocations: 86.73 kB / 1.165 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.9898, allocations: 81.66 kB / 1.165 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.9899, allocations: 326.8 kB / 1.166 GB, free: 340 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.9901, allocations: 79.95 kB / 1.166 GB, free: 260 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.9903, allocations: 129.1 kB / 1.166 GB, free: 112 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.9908, allocations: 222.9 kB / 1.166 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9908, allocations: 4 kB / 1.166 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008265/0.9916, allocations: 299 kB / 1.166 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.9917, allocations: 9.391 kB / 1.166 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.9917, allocations: 4 kB / 1.166 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.9917, allocations: 4 kB / 1.166 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.992, allocations: 79.88 kB / 1.166 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.992, allocations: 0 / 1.166 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.9922, allocations: 31.84 kB / 1.166 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.9923, allocations: 23.98 kB / 1.166 GB, free: 15.43 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.0001689/0.9925, allocations: 129.8 kB / 1.167 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.9927, allocations: 19.89 kB / 1.167 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.9954, allocations: 2.343 MB / 1.169 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.9954, allocations: 15.97 kB / 1.169 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.9955, allocations: 4 kB / 1.169 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.9955, allocations: 7.875 kB / 1.169 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/0.9992, allocations: 3.423 MB / 1.172 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.9992, allocations: 0 / 1.172 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.9995, allocations: 55.89 kB / 1.172 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9995, allocations: 0 / 1.172 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.9996, allocations: 15.92 kB / 1.172 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.9996, allocations: 0 / 1.172 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.9996, allocations: 0 / 1.172 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000872/1, allocations: 0.5418 MB / 1.173 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/1.001, allocations: 144.6 kB / 1.173 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/1.001, allocations: 7.938 kB / 1.173 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/1.001, allocations: 19.89 kB / 1.173 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/1.001, allocations: 11.98 kB / 1.173 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/1.001, allocations: 19.98 kB / 1.173 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.059e-05/1.001, allocations: 104.5 kB / 1.173 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.41e-07/1.001, allocations: 0 / 1.173 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.005174/1.006, allocations: 1.624 MB / 1.175 GB, free: 6.785 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.009406/1.016, allocations: 1.899 MB / 1.177 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006928/1.017, allocations: 331.8 kB / 1.177 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.017, allocations: 3.938 kB / 1.177 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/1.017, allocations: 241.5 kB / 1.177 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/1.018, allocations: 64.02 kB / 1.177 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/1.019, allocations: 0.7516 MB / 1.178 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/1.019, allocations: 0.7661 MB / 1.179 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005754/1.02, allocations: 405 kB / 1.179 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/1.02, allocations: 47.41 kB / 1.179 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of SimCode: time 2.976e-06/1.02, allocations: 4 kB / 1.179 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of Templates: time 0.08461/1.105, allocations: 57.04 MB / 1.235 GB, free: 9.152 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