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.001237/0.001237, allocations: 109 kB / 16.41 MB, free: 6.5 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.001291/0.001291, allocations: 189.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.076/2.076, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.759/4.759, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002499, allocations: 55.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.209, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.168/1.377, allocations: 136.1 MB / 1.341 GB, free: 4.934 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.04747/1.425, allocations: 22.68 MB / 1.363 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/1.425, allocations: 4 kB / 1.363 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0003863/1.425, allocations: 43.67 kB / 1.364 GB, free: 14.14 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0004594/1.426, allocations: 99.41 kB / 1.364 GB, free: 14.04 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.03118/1.457, allocations: 6.94 MB / 1.37 GB, free: 7.113 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0006231/1.458, allocations: 251.9 kB / 1.371 GB, free: 6.867 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 6.922e-05/1.458, allocations: 17.55 kB / 1.371 GB, free: 6.852 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/1.458, allocations: 139.4 kB / 1.371 GB, free: 6.715 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/1.459, allocations: 95.61 kB / 1.371 GB, free: 6.621 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/1.459, allocations: 8 kB / 1.371 GB, free: 6.613 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03832/1.497, allocations: 11.64 MB / 1.382 GB, free: 10.96 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001641/1.497, allocations: 39.88 kB / 1.382 GB, free: 10.92 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/1.497, allocations: 71.67 kB / 1.382 GB, free: 10.85 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01964/1.517, allocations: 6.483 MB / 1.389 GB, free: 4.355 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.517, allocations: 0 / 1.389 GB, free: 4.355 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.414e-06/1.517, allocations: 0 / 1.389 GB, free: 4.355 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.517, allocations: 4 kB / 1.389 GB, free: 4.352 MB / 1.107 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.003477/1.521, allocations: 1.197 MB / 1.39 GB, free: 3.105 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.521, allocations: 8.031 kB / 1.39 GB, free: 3.098 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/1.522, allocations: 84.66 kB / 1.39 GB, free: 3.016 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/1.522, allocations: 228 kB / 1.39 GB, free: 2.754 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/1.522, allocations: 16.12 kB / 1.39 GB, free: 2.738 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/1.522, allocations: 16 kB / 1.39 GB, free: 2.723 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.523, allocations: 462 kB / 1.391 GB, free: 2.254 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.523, allocations: 4 kB / 1.391 GB, free: 2.25 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/1.524, allocations: 4 kB / 1.391 GB, free: 2.246 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.524, allocations: 4 kB / 1.391 GB, free: 2.242 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/1.525, allocations: 0.6009 MB / 1.391 GB, free: 1.641 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/1.526, allocations: 0.8861 MB / 1.392 GB, free: 0.668 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007877/1.527, allocations: 248.1 kB / 1.392 GB, free: 428 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/1.527, allocations: 72.83 kB / 1.392 GB, free: 352 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09727/1.624, allocations: 35.41 MB / 1.427 GB, free: 9.836 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/1.624, allocations: 43.16 kB / 1.427 GB, free: 9.785 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 2.244e-06/1.624, allocations: 0 / 1.427 GB, free: 9.785 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.001909/1.626, allocations: 421.9 kB / 1.427 GB, free: 9.367 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.626, allocations: 55.41 kB / 1.427 GB, free: 9.301 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/1.626, allocations: 139.7 kB / 1.428 GB, free: 9.156 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/1.626, allocations: 29.7 kB / 1.428 GB, free: 9.121 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/1.626, allocations: 108.4 kB / 1.428 GB, free: 9.012 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.798e-05/1.626, allocations: 86.75 kB / 1.428 GB, free: 8.926 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/1.627, allocations: 85.59 kB / 1.428 GB, free: 8.836 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.627, allocations: 322.8 kB / 1.428 GB, free: 8.512 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/1.627, allocations: 79.95 kB / 1.428 GB, free: 8.434 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/1.627, allocations: 130.3 kB / 1.428 GB, free: 8.289 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/1.628, allocations: 224.3 kB / 1.429 GB, free: 8.055 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/1.628, allocations: 4 kB / 1.429 GB, free: 8.051 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008388/1.629, allocations: 297.2 kB / 1.429 GB, free: 7.754 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.629, allocations: 7.984 kB / 1.429 GB, free: 7.746 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.629, allocations: 7.984 kB / 1.429 GB, free: 7.738 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.629, allocations: 0 / 1.429 GB, free: 7.738 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/1.629, allocations: 83.88 kB / 1.429 GB, free: 7.656 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.629, allocations: 4 kB / 1.429 GB, free: 7.652 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/1.629, allocations: 15.84 kB / 1.429 GB, free: 7.637 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/1.629, allocations: 27.92 kB / 1.429 GB, free: 7.609 MB / 1.154 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.0001346/1.629, allocations: 136.6 kB / 1.429 GB, free: 7.469 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/1.63, allocations: 19.8 kB / 1.429 GB, free: 7.449 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/1.632, allocations: 2.338 MB / 1.432 GB, free: 5.098 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.632, allocations: 7.969 kB / 1.432 GB, free: 5.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/1.632, allocations: 3.938 kB / 1.432 GB, free: 5.086 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/1.632, allocations: 128.7 kB / 1.432 GB, free: 4.941 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/1.632, allocations: 7.938 kB / 1.432 GB, free: 4.934 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/1.632, allocations: 27.95 kB / 1.432 GB, free: 4.906 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/1.633, allocations: 19.98 kB / 1.432 GB, free: 4.887 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007813/1.633, allocations: 0.5465 MB / 1.432 GB, free: 4.336 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000811/1.634, allocations: 0.6243 MB / 1.433 GB, free: 3.691 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002754/1.634, allocations: 220.6 kB / 1.433 GB, free: 3.473 MB / 1.154 GB Notification: Performance of sorting global known variables: time 7.896e-05/1.635, allocations: 105 kB / 1.433 GB, free: 3.371 MB / 1.154 GB Notification: Performance of Backend: time 4.5e-07/1.635, allocations: 0 / 1.433 GB, free: 3.371 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.645, allocations: 2.257 MB / 1.435 GB, free: 1.105 MB / 1.154 GB Notification: Performance of SimCode: time 0.001069/1.646, allocations: 0.9231 MB / 1.436 GB, free: 132 kB / 1.154 GB Notification: Performance of Templates: time 0.08903/1.735, allocations: 63.36 MB / 1.498 GB, free: 0.7109 MB / 1.217 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