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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007973/0.007973, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001792/0.001792, allocations: 199 kB / 16.68 MB, free: 6.375 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.845/2.845, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3518, allocations: 157.4 MB / 1.208 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.9992/1.351, allocations: 136.1 MB / 1.341 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03388/1.385, allocations: 22.68 MB / 1.363 GB, free: 8.316 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/1.385, allocations: 1.406 kB / 1.363 GB, free: 8.316 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004145/1.386, allocations: 50.81 kB / 1.363 GB, free: 8.289 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004813/1.386, allocations: 97.41 kB / 1.363 GB, free: 8.227 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.02441/1.411, allocations: 6.946 MB / 1.37 GB, free: 4.203 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006448/1.411, allocations: 257.5 kB / 1.37 GB, free: 4.059 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.866e-05/1.411, allocations: 9.125 kB / 1.37 GB, free: 4.059 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004622/1.412, allocations: 138.1 kB / 1.37 GB, free: 3.984 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/1.412, allocations: 94.09 kB / 1.37 GB, free: 3.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/1.412, allocations: 8.125 kB / 1.37 GB, free: 3.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02917/1.441, allocations: 11.65 MB / 1.382 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/1.442, allocations: 37 kB / 1.382 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/1.442, allocations: 93.27 kB / 1.382 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02148/1.463, allocations: 6.471 MB / 1.388 GB, free: 9.602 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.463, allocations: 0 / 1.388 GB, free: 9.602 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.887e-06/1.463, allocations: 3.984 kB / 1.388 GB, free: 9.598 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.463, allocations: 0 / 1.388 GB, free: 9.598 MB / 1.076 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.006057/1.469, allocations: 1.201 MB / 1.389 GB, free: 8.719 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.47, allocations: 8.062 kB / 1.389 GB, free: 8.719 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/1.471, allocations: 86.73 kB / 1.389 GB, free: 8.684 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/1.471, allocations: 235.4 kB / 1.39 GB, free: 8.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/1.471, allocations: 9.469 kB / 1.39 GB, free: 8.426 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/1.471, allocations: 17.56 kB / 1.39 GB, free: 8.418 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/1.472, allocations: 455.1 kB / 1.39 GB, free: 8.129 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/1.472, allocations: 5.281 kB / 1.39 GB, free: 8.125 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/1.472, allocations: 6.688 kB / 1.39 GB, free: 8.121 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.472, allocations: 8.344 kB / 1.39 GB, free: 8.117 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/1.473, allocations: 0.5868 MB / 1.391 GB, free: 7.836 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/1.475, allocations: 0.8819 MB / 1.391 GB, free: 6.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008159/1.475, allocations: 260.2 kB / 1.392 GB, free: 6.836 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/1.475, allocations: 78.08 kB / 1.392 GB, free: 6.797 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08911/1.565, allocations: 35.41 MB / 1.426 GB, free: 3.684 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/1.565, allocations: 39.2 kB / 1.426 GB, free: 3.637 MB / 1.107 GB Notification: Performance of pre-optimization done (n=25): time 2.304e-06/1.565, allocations: 0 / 1.426 GB, free: 3.637 MB / 1.107 GB Notification: Performance of matching and sorting (n=25): time 0.001843/1.567, allocations: 425.6 kB / 1.427 GB, free: 3.215 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/1.567, allocations: 59.41 kB / 1.427 GB, free: 3.145 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/1.567, allocations: 135.2 kB / 1.427 GB, free: 3.004 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/1.567, allocations: 33.7 kB / 1.427 GB, free: 2.965 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/1.567, allocations: 112.3 kB / 1.427 GB, free: 2.852 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.319e-05/1.567, allocations: 78.75 kB / 1.427 GB, free: 2.773 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/1.567, allocations: 77.67 kB / 1.427 GB, free: 2.691 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.567, allocations: 330.8 kB / 1.428 GB, free: 2.359 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/1.567, allocations: 87.94 kB / 1.428 GB, free: 2.273 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/1.568, allocations: 122.8 kB / 1.428 GB, free: 2.137 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/1.568, allocations: 226.5 kB / 1.428 GB, free: 1.898 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.568, allocations: 3.938 kB / 1.428 GB, free: 1.895 MB / 1.107 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000789/1.569, allocations: 300.4 kB / 1.428 GB, free: 1.598 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.569, allocations: 4 kB / 1.428 GB, free: 1.594 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.569, allocations: 4 kB / 1.428 GB, free: 1.59 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/1.569, allocations: 4 kB / 1.428 GB, free: 1.586 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/1.569, allocations: 79.88 kB / 1.428 GB, free: 1.508 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1.569, allocations: 4.156 kB / 1.428 GB, free: 1.504 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/1.57, allocations: 19.84 kB / 1.428 GB, free: 1.484 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/1.57, allocations: 35.84 kB / 1.428 GB, free: 1.449 MB / 1.107 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.000152/1.57, allocations: 125.8 kB / 1.429 GB, free: 1.316 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/1.57, allocations: 15.81 kB / 1.429 GB, free: 1.301 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/1.572, allocations: 2.342 MB / 1.431 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/1.573, allocations: 11.98 kB / 1.431 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.573, allocations: 0 / 1.431 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/1.573, allocations: 8 kB / 1.431 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/1.576, allocations: 3.423 MB / 1.434 GB, free: 11.39 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.576, allocations: 3.984 kB / 1.434 GB, free: 11.39 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/1.576, allocations: 59.89 kB / 1.434 GB, free: 11.33 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/1.576, allocations: 0 / 1.434 GB, free: 11.33 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/1.576, allocations: 11.94 kB / 1.434 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.576, allocations: 0 / 1.434 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.576, allocations: 0 / 1.434 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/1.577, allocations: 0.5465 MB / 1.435 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/1.577, allocations: 140.6 kB / 1.435 GB, free: 10.6 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/1.577, allocations: 7.938 kB / 1.435 GB, free: 10.59 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/1.578, allocations: 12 kB / 1.435 GB, free: 10.58 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/1.578, allocations: 19.97 kB / 1.435 GB, free: 10.56 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/1.578, allocations: 15.94 kB / 1.435 GB, free: 10.54 MB / 1.123 GB Notification: Performance of sorting global known variables: time 7.83e-05/1.578, allocations: 104.7 kB / 1.435 GB, free: 10.44 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.578, allocations: 3.938 kB / 1.435 GB, free: 10.44 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.005352/1.583, allocations: 1.694 MB / 1.437 GB, free: 8.742 MB / 1.123 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.01034/1.593, allocations: 1.93 MB / 1.439 GB, free: 6.805 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00081/1.594, allocations: 320.3 kB / 1.439 GB, free: 6.492 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.594, allocations: 0 / 1.439 GB, free: 6.492 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/1.595, allocations: 244.5 kB / 1.439 GB, free: 6.254 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/1.595, allocations: 65.75 kB / 1.439 GB, free: 6.191 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/1.597, allocations: 0.6421 MB / 1.44 GB, free: 5.52 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/1.597, allocations: 0.7622 MB / 1.441 GB, free: 4.73 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005861/1.597, allocations: 409 kB / 1.441 GB, free: 4.328 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/1.598, allocations: 43.41 kB / 1.441 GB, free: 4.285 MB / 1.123 GB Notification: Performance of SimCode: time 1.442e-06/1.598, allocations: 0 / 1.441 GB, free: 4.285 MB / 1.123 GB Notification: Performance of Templates: time 0.07835/1.676, allocations: 59.43 MB / 1.499 GB, free: 8.816 MB / 1.186 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches