Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001235/0.001235, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001223/0.001223, allocations: 191 kB / 16.91 MB, free: 6.184 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.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 65.61 kB / 0.9087 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3098, allocations: 159.1 MB / 1.064 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.6376/0.9475, allocations: 134.2 MB / 1.195 GB, free: 11.36 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02919/0.9767, allocations: 22.97 MB / 1.218 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.9769, allocations: 1.375 kB / 1.218 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.9773, allocations: 42.67 kB / 1.218 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.9776, allocations: 90.55 kB / 1.218 GB, free: 9 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.01888/0.9965, allocations: 6.155 MB / 1.224 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.9969, allocations: 251.9 kB / 1.224 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.997, allocations: 9.344 kB / 1.224 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.9973, allocations: 134.3 kB / 1.224 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.9974, allocations: 103.6 kB / 1.224 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.9975, allocations: 7.281 kB / 1.224 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02218/1.02, allocations: 11.47 MB / 1.235 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/1.02, allocations: 27.91 kB / 1.235 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/1.02, allocations: 83.66 kB / 1.236 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009097/1.029, allocations: 4.355 MB / 1.24 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.029, allocations: 0 / 1.24 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.703e-06/1.029, allocations: 0 / 1.24 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.029, allocations: 0 / 1.24 GB, free: 5.582 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.003631/1.033, allocations: 1.198 MB / 1.241 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.033, allocations: 8.625 kB / 1.241 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.034, allocations: 92.66 kB / 1.241 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/1.034, allocations: 232.1 kB / 1.241 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/1.034, allocations: 8.375 kB / 1.241 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/1.034, allocations: 20.81 kB / 1.241 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/1.036, allocations: 449.1 kB / 1.242 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.036, allocations: 0 / 1.242 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/1.036, allocations: 12 kB / 1.242 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.036, allocations: 4 kB / 1.242 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.037, allocations: 0.5969 MB / 1.242 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/1.038, allocations: 0.8783 MB / 1.243 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008893/1.039, allocations: 254.1 kB / 1.243 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/1.039, allocations: 80.81 kB / 1.243 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08641/1.126, allocations: 35.04 MB / 1.278 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/1.126, allocations: 38.56 kB / 1.278 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/1.126, allocations: 3.938 kB / 1.278 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001879/1.128, allocations: 423.5 kB / 1.278 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/1.128, allocations: 59.41 kB / 1.278 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/1.128, allocations: 136.2 kB / 1.278 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/1.128, allocations: 29.7 kB / 1.278 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/1.128, allocations: 112.3 kB / 1.278 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/1.128, allocations: 86.73 kB / 1.279 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/1.128, allocations: 81.66 kB / 1.279 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.128, allocations: 326.8 kB / 1.279 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/1.129, allocations: 87.89 kB / 1.279 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/1.129, allocations: 125.1 kB / 1.279 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/1.129, allocations: 222 kB / 1.279 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.129, allocations: 4 kB / 1.279 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007903/1.13, allocations: 295.7 kB / 1.28 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.13, allocations: 4 kB / 1.28 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.13, allocations: 4 kB / 1.28 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/1.13, allocations: 0 / 1.28 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/1.131, allocations: 79.88 kB / 1.28 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.131, allocations: 12.14 kB / 1.28 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/1.131, allocations: 23.75 kB / 1.28 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/1.131, allocations: 23.92 kB / 1.28 GB, free: 9.219 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.0001534/1.131, allocations: 129.8 kB / 1.28 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/1.131, allocations: 15.81 kB / 1.28 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/1.134, allocations: 2.35 MB / 1.282 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/1.134, allocations: 11.98 kB / 1.282 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.134, allocations: 0 / 1.282 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.134, allocations: 3.984 kB / 1.282 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/1.138, allocations: 3.431 MB / 1.286 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/1.138, allocations: 0 / 1.286 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/1.138, allocations: 55.89 kB / 1.286 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.138, allocations: 4 kB / 1.286 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/1.138, allocations: 15.92 kB / 1.286 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.138, allocations: 0 / 1.286 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.138, allocations: 0 / 1.286 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/1.139, allocations: 0.5421 MB / 1.286 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/1.139, allocations: 144.5 kB / 1.286 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/1.139, allocations: 7.938 kB / 1.286 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/1.139, allocations: 15.98 kB / 1.286 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/1.139, allocations: 19.92 kB / 1.286 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/1.139, allocations: 11.98 kB / 1.286 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.954e-05/1.139, allocations: 105.8 kB / 1.286 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.139, allocations: 4 kB / 1.286 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004536/1.144, allocations: 1.694 MB / 1.288 GB, free: 0.5039 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.008426/1.152, allocations: 1.936 MB / 1.29 GB, free: 14.56 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000844/1.153, allocations: 336.5 kB / 1.29 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.153, allocations: 0 / 1.29 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/1.154, allocations: 240.5 kB / 1.291 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/1.154, allocations: 72.11 kB / 1.291 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/1.156, allocations: 0.7805 MB / 1.291 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/1.156, allocations: 0.7699 MB / 1.292 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/1.156, allocations: 51.41 kB / 1.292 GB, free: 12.27 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/1.156, allocations: 0 / 1.292 GB, free: 12.27 MB / 1.014 GB Notification: Performance of Templates: time 0.05319/1.209, allocations: 32.79 MB / 1.324 GB, free: 11.45 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_11_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches