Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.008227/0.008227, allocations: 101 kB / 15.88 MB, free: 5.867 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.001653/0.001653, allocations: 192 kB / 16.79 MB, free: 5.809 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 66.58 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2907, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1392/0.4299, allocations: 134 MB / 1.184 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0319/0.4619, allocations: 25.14 MB / 1.208 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.4621, allocations: 3.938 kB / 1.208 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.4625, allocations: 39.81 kB / 1.208 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.4629, allocations: 79.5 kB / 1.208 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01831/0.4813, allocations: 5.493 MB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000524/0.4818, allocations: 311.8 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.152e-05/0.4819, allocations: 9.5 kB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004052/0.4823, allocations: 135.5 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.4825, allocations: 91.66 kB / 1.214 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.4825, allocations: 8 kB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02311/0.5056, allocations: 11.52 MB / 1.225 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.5058, allocations: 35.89 kB / 1.225 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.506, allocations: 83.59 kB / 1.226 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009799/0.5158, allocations: 4.343 MB / 1.23 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5159, allocations: 0 / 1.23 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.206e-06/0.5159, allocations: 4 kB / 1.23 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.5159, allocations: 0 / 1.23 GB, free: 2.402 MB / 0.9825 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.004069/0.52, allocations: 1.201 MB / 1.231 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.52, allocations: 16.03 kB / 1.231 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.5213, allocations: 88.66 kB / 1.231 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.5216, allocations: 216.2 kB / 1.231 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.5216, allocations: 16.12 kB / 1.231 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.5217, allocations: 15.98 kB / 1.231 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5229, allocations: 456.3 kB / 1.232 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.5229, allocations: 4 kB / 1.232 GB, free: 312 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.523, allocations: 11.94 kB / 1.232 GB, free: 300 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.523, allocations: 4 kB / 1.232 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.5243, allocations: 0.5893 MB / 1.232 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.5256, allocations: 0.8822 MB / 1.233 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009172/0.5265, allocations: 252 kB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.5267, allocations: 77.27 kB / 1.233 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5911/1.118, allocations: 35.03 MB / 1.268 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.118, allocations: 37.08 kB / 1.268 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/1.118, allocations: 0.875 kB / 1.268 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001942/1.12, allocations: 416.9 kB / 1.268 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/1.12, allocations: 54.38 kB / 1.268 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/1.12, allocations: 152.9 kB / 1.268 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/1.12, allocations: 32.11 kB / 1.268 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/1.12, allocations: 106.8 kB / 1.268 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/1.12, allocations: 86.44 kB / 1.269 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/1.12, allocations: 81.53 kB / 1.269 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/1.12, allocations: 327.1 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/1.121, allocations: 82.69 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/1.121, allocations: 131.6 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/1.121, allocations: 229.2 kB / 1.269 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.121, allocations: 0.6562 kB / 1.269 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000871/1.122, allocations: 299.5 kB / 1.27 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.122, allocations: 5.656 kB / 1.27 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.122, allocations: 2 kB / 1.27 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.122, allocations: 2.875 kB / 1.27 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/1.123, allocations: 80.88 kB / 1.27 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/1.123, allocations: 7.328 kB / 1.27 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/1.123, allocations: 26.47 kB / 1.27 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/1.123, allocations: 26.86 kB / 1.27 GB, free: 176.7 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.0001161/1.123, allocations: 127.9 kB / 1.27 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/1.123, allocations: 15.61 kB / 1.27 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/1.126, allocations: 2.355 MB / 1.272 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/1.126, allocations: 13.45 kB / 1.272 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.126, allocations: 3.938 kB / 1.272 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.126, allocations: 1.688 kB / 1.272 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/1.129, allocations: 3.422 MB / 1.276 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.129, allocations: 0 / 1.276 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/1.129, allocations: 52.45 kB / 1.276 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.129, allocations: 5.156 kB / 1.276 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/1.129, allocations: 7.406 kB / 1.276 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/1.129, allocations: 2.266 kB / 1.276 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.129, allocations: 5.375 kB / 1.276 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007493/1.13, allocations: 0.5528 MB / 1.276 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/1.13, allocations: 141.7 kB / 1.276 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/1.13, allocations: 6.109 kB / 1.276 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/1.13, allocations: 14.72 kB / 1.276 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/1.13, allocations: 17.69 kB / 1.276 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/1.13, allocations: 15.36 kB / 1.276 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.328e-05/1.13, allocations: 109.5 kB / 1.276 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.13, allocations: 0 / 1.276 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004091/1.135, allocations: 1.689 MB / 1.278 GB, free: 175.5 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.007632/1.142, allocations: 1.938 MB / 1.28 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007142/1.143, allocations: 324.8 kB / 1.28 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.143, allocations: 0 / 1.28 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003013/1.143, allocations: 238.8 kB / 1.281 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/1.144, allocations: 68.05 kB / 1.281 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009978/1.145, allocations: 0.7831 MB / 1.281 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/1.145, allocations: 0.7678 MB / 1.282 GB, free: 174 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/1.145, allocations: 52.53 kB / 1.282 GB, free: 174 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/1.145, allocations: 0 / 1.282 GB, free: 174 MB / 0.9981 GB Notification: Performance of Templates: time 0.03802/1.183, allocations: 32.79 MB / 1.314 GB, free: 149.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches