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.001043/0.001043, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008425/0.008425, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.757/2.757, allocations: 443.3 MB / 0.7175 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003823, allocations: 12.42 kB / 0.8795 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3712, allocations: 155.2 MB / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1672/0.5385, allocations: 132.2 MB / 1.16 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03117/0.5697, allocations: 24.77 MB / 1.184 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.57, allocations: 4 kB / 1.184 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.5704, allocations: 39.81 kB / 1.184 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.5708, allocations: 83.48 kB / 1.185 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0193/0.5901, allocations: 5.491 MB / 1.19 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.5906, allocations: 307.8 kB / 1.19 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.5906, allocations: 9.562 kB / 1.19 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.591, allocations: 131.5 kB / 1.19 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.5912, allocations: 91.66 kB / 1.19 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.5913, allocations: 8 kB / 1.19 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02156/0.6128, allocations: 11.52 MB / 1.202 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.6131, allocations: 47.88 kB / 1.202 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.6133, allocations: 101.4 kB / 1.202 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01787/0.6312, allocations: 6.479 MB / 1.208 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6312, allocations: 0 / 1.208 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6312, allocations: 3.938 kB / 1.208 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.6313, allocations: 0 / 1.208 GB, free: 14.5 MB / 0.9669 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.003885/0.6351, allocations: 1.166 MB / 1.209 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.6352, allocations: 8.031 kB / 1.209 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.6364, allocations: 84.67 kB / 1.209 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.6367, allocations: 236 kB / 1.21 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.6367, allocations: 12.12 kB / 1.21 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.6368, allocations: 16 kB / 1.21 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.6379, allocations: 452.3 kB / 1.21 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.638, allocations: 4 kB / 1.21 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.638, allocations: 4 kB / 1.21 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.638, allocations: 4 kB / 1.21 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.6393, allocations: 0.6047 MB / 1.211 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.6405, allocations: 0.8784 MB / 1.212 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008214/0.6413, allocations: 259.6 kB / 1.212 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.6415, allocations: 76.83 kB / 1.212 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08991/0.7314, allocations: 35.32 MB / 1.246 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.7315, allocations: 34.56 kB / 1.246 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.864e-06/0.7315, allocations: 4 kB / 1.246 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001716/0.7332, allocations: 414.2 kB / 1.247 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.7333, allocations: 63.34 kB / 1.247 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.7334, allocations: 144.1 kB / 1.247 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.7335, allocations: 33.7 kB / 1.247 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.7336, allocations: 108.4 kB / 1.247 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-05/0.7337, allocations: 74.81 kB / 1.247 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.7337, allocations: 33.64 kB / 1.247 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.7339, allocations: 330.8 kB / 1.248 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.7342, allocations: 79.95 kB / 1.248 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.7344, allocations: 137.1 kB / 1.248 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.7348, allocations: 223.4 kB / 1.248 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7349, allocations: 0 / 1.248 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007043/0.7356, allocations: 300.5 kB / 1.248 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.7356, allocations: 8 kB / 1.248 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7356, allocations: 0 / 1.248 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.7356, allocations: 4 kB / 1.248 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.7359, allocations: 79.88 kB / 1.248 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.736, allocations: 11.88 kB / 1.248 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.7361, allocations: 27.88 kB / 1.248 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.7362, allocations: 27.98 kB / 1.248 GB, free: 1.906 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.0001417/0.7363, allocations: 129.8 kB / 1.248 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.7365, allocations: 15.81 kB / 1.249 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.658/1.395, allocations: 2.342 MB / 1.251 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/1.395, allocations: 15.16 kB / 1.251 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.395, allocations: 0 / 1.251 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/1.395, allocations: 3.75 kB / 1.251 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/1.398, allocations: 3.423 MB / 1.254 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.398, allocations: 0.8125 kB / 1.254 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/1.398, allocations: 56.59 kB / 1.254 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/1.398, allocations: 5.312 kB / 1.254 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/1.398, allocations: 8.547 kB / 1.254 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/1.398, allocations: 0.9375 kB / 1.254 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.398, allocations: 0.5156 kB / 1.254 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/1.399, allocations: 0.548 MB / 1.255 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/1.399, allocations: 140.2 kB / 1.255 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/1.399, allocations: 6.281 kB / 1.255 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/1.399, allocations: 21.16 kB / 1.255 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/1.4, allocations: 20.88 kB / 1.255 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/1.4, allocations: 14.67 kB / 1.255 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.252e-05/1.4, allocations: 104.8 kB / 1.255 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.372e-06/1.4, allocations: 0 / 1.255 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006706/1.406, allocations: 1.694 MB / 1.257 GB, free: 216 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.00884/1.415, allocations: 1.932 MB / 1.259 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008656/1.416, allocations: 321.5 kB / 1.259 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.416, allocations: 1.688 kB / 1.259 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004069/1.417, allocations: 247.1 kB / 1.259 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/1.417, allocations: 63.55 kB / 1.259 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/1.419, allocations: 0.8001 MB / 1.26 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/1.419, allocations: 0.7672 MB / 1.261 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007542/1.42, allocations: 404.1 kB / 1.261 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/1.42, allocations: 48.97 kB / 1.261 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.42, allocations: 0 / 1.261 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.07755/1.497, allocations: 59.36 MB / 1.319 GB, free: 171.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches