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.001386/0.001386, allocations: 112.3 kB / 16.42 MB, free: 6.469 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.001455/0.001455, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.155/2.155, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6814/0.6828, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1477/0.8305, allocations: 136.1 MB / 1.222 GB, free: 196 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02621/0.8567, allocations: 22.34 MB / 1.243 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.8569, allocations: 5.375 kB / 1.243 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.8572, allocations: 43.03 kB / 1.243 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.8576, allocations: 103.1 kB / 1.244 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01695/0.8746, allocations: 6.683 MB / 1.25 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.875, allocations: 247.9 kB / 1.25 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.875, allocations: 9.562 kB / 1.25 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.8754, allocations: 147.4 kB / 1.25 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.8755, allocations: 87.66 kB / 1.251 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.8756, allocations: 12 kB / 1.251 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02172/0.8973, allocations: 10.97 MB / 1.261 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.8974, allocations: 35.89 kB / 1.261 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.8976, allocations: 83.64 kB / 1.261 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01597/0.9136, allocations: 6.156 MB / 1.267 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.9136, allocations: 4 kB / 1.267 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9136, allocations: 0 / 1.267 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.9136, allocations: 0 / 1.267 GB, free: 6.637 MB / 0.9981 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.00359/0.9172, allocations: 1.181 MB / 1.269 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.9173, allocations: 8.031 kB / 1.269 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.9186, allocations: 80.67 kB / 1.269 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.9189, allocations: 228.1 kB / 1.269 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.9189, allocations: 12.12 kB / 1.269 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.919, allocations: 20 kB / 1.269 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.9203, allocations: 464.4 kB / 1.269 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.9203, allocations: 7.984 kB / 1.269 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.9204, allocations: 4 kB / 1.269 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.9204, allocations: 4 kB / 1.269 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.9217, allocations: 0.6008 MB / 1.27 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.9228, allocations: 0.8745 MB / 1.271 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008771/0.9237, allocations: 254.1 kB / 1.271 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.9239, allocations: 68.84 kB / 1.271 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.102/1.026, allocations: 35.43 MB / 1.306 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.026, allocations: 42.56 kB / 1.306 GB, free: 12.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/1.026, allocations: 0 / 1.306 GB, free: 12.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.002015/1.028, allocations: 423.2 kB / 1.306 GB, free: 11.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/1.028, allocations: 55.41 kB / 1.306 GB, free: 11.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/1.028, allocations: 140.6 kB / 1.306 GB, free: 11.45 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/1.028, allocations: 29.7 kB / 1.306 GB, free: 11.41 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/1.028, allocations: 108.3 kB / 1.306 GB, free: 11.3 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.862e-05/1.028, allocations: 94.73 kB / 1.307 GB, free: 11.2 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/1.029, allocations: 77.67 kB / 1.307 GB, free: 11.12 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.029, allocations: 326.8 kB / 1.307 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/1.029, allocations: 79.95 kB / 1.307 GB, free: 10.71 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/1.029, allocations: 130.5 kB / 1.307 GB, free: 10.57 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/1.03, allocations: 218.7 kB / 1.307 GB, free: 10.34 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.03, allocations: 4 kB / 1.307 GB, free: 10.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007974/1.031, allocations: 302.7 kB / 1.308 GB, free: 10.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.031, allocations: 8.156 kB / 1.308 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.031, allocations: 8 kB / 1.308 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.031, allocations: 0 / 1.308 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/1.031, allocations: 79.88 kB / 1.308 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.031, allocations: 4 kB / 1.308 GB, free: 9.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/1.031, allocations: 15.84 kB / 1.308 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/1.031, allocations: 31.91 kB / 1.308 GB, free: 9.891 MB / 1.045 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.0001471/1.031, allocations: 129.8 kB / 1.308 GB, free: 9.754 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/1.032, allocations: 15.81 kB / 1.308 GB, free: 9.738 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/1.034, allocations: 2.338 MB / 1.31 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/1.034, allocations: 0 / 1.31 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.034, allocations: 0 / 1.31 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.034, allocations: 140.5 kB / 1.31 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/1.034, allocations: 7.938 kB / 1.31 GB, free: 7.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/1.035, allocations: 23.97 kB / 1.31 GB, free: 7.199 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/1.035, allocations: 27.91 kB / 1.31 GB, free: 7.172 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008206/1.036, allocations: 0.5426 MB / 1.311 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008626/1.037, allocations: 0.6204 MB / 1.312 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003066/1.037, allocations: 229.2 kB / 1.312 GB, free: 5.762 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.796e-05/1.037, allocations: 103.3 kB / 1.312 GB, free: 5.66 MB / 1.045 GB Notification: Performance of Backend: time 1.924e-06/1.037, allocations: 0 / 1.312 GB, free: 5.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01061/1.048, allocations: 2.227 MB / 1.314 GB, free: 3.43 MB / 1.045 GB Notification: Performance of SimCode: time 0.001168/1.049, allocations: 0.927 MB / 1.315 GB, free: 2.457 MB / 1.045 GB Notification: Performance of Templates: time 0.08524/1.134, allocations: 60.85 MB / 1.374 GB, free: 5.547 MB / 1.107 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