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.008265/0.008265, allocations: 96.06 kB / 15.73 MB, free: 6.062 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.001697/0.001697, allocations: 197.3 kB / 16.68 MB, free: 5.984 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.507/2.507, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 61.16 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3664, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1628/0.5292, allocations: 136.1 MB / 1.221 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02633/0.5557, allocations: 22.34 MB / 1.243 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.5559, allocations: 0 / 1.243 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.5562, allocations: 47.67 kB / 1.243 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.5566, allocations: 95.36 kB / 1.243 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02107/0.5777, allocations: 6.692 MB / 1.249 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.5782, allocations: 247.9 kB / 1.25 GB, free: 11.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.5782, allocations: 17.48 kB / 1.25 GB, free: 11.31 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/0.5786, allocations: 147.4 kB / 1.25 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.5788, allocations: 83.67 kB / 1.25 GB, free: 11.08 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.5788, allocations: 11.98 kB / 1.25 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02284/0.6016, allocations: 10.96 MB / 1.261 GB, free: 100 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.6018, allocations: 43.81 kB / 1.261 GB, free: 56 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.8045/1.406, allocations: 77.12 kB / 1.261 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02445/1.431, allocations: 6.154 MB / 1.267 GB, free: 12.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/1.431, allocations: 0 / 1.267 GB, free: 12.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.026e-06/1.431, allocations: 2.969 kB / 1.267 GB, free: 12.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.479e-05/1.431, allocations: 1.203 kB / 1.267 GB, free: 12.61 MB / 1.014 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.008321/1.439, allocations: 1.235 MB / 1.268 GB, free: 11.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.439, allocations: 9.406 kB / 1.268 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/1.441, allocations: 86.42 kB / 1.268 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/1.441, allocations: 228.6 kB / 1.268 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/1.441, allocations: 14.73 kB / 1.268 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/1.441, allocations: 16.72 kB / 1.268 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/1.442, allocations: 455.8 kB / 1.269 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.442, allocations: 2.625 kB / 1.269 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/1.442, allocations: 5.844 kB / 1.269 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/1.442, allocations: 6.75 kB / 1.269 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/1.444, allocations: 0.5977 MB / 1.269 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/1.445, allocations: 0.8797 MB / 1.27 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009313/1.446, allocations: 252.5 kB / 1.27 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/1.446, allocations: 73.22 kB / 1.27 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.102/1.548, allocations: 35.43 MB / 1.305 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.548, allocations: 40.53 kB / 1.305 GB, free: 9.719 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 2.444e-06/1.548, allocations: 1.375 kB / 1.305 GB, free: 9.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001797/1.55, allocations: 424.5 kB / 1.305 GB, free: 9.672 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/1.55, allocations: 55.81 kB / 1.306 GB, free: 9.609 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/1.55, allocations: 137.8 kB / 1.306 GB, free: 9.512 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/1.55, allocations: 31.98 kB / 1.306 GB, free: 9.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/1.55, allocations: 110.3 kB / 1.306 GB, free: 9.383 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/1.55, allocations: 87.45 kB / 1.306 GB, free: 9.324 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/1.551, allocations: 84.03 kB / 1.306 GB, free: 9.305 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.551, allocations: 324.3 kB / 1.306 GB, free: 8.988 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/1.551, allocations: 82.44 kB / 1.306 GB, free: 8.988 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/1.551, allocations: 130.9 kB / 1.306 GB, free: 8.941 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/1.552, allocations: 220.9 kB / 1.307 GB, free: 8.891 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.552, allocations: 4.938 kB / 1.307 GB, free: 8.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006954/1.552, allocations: 298.5 kB / 1.307 GB, free: 8.848 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.552, allocations: 12.5 kB / 1.307 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/1.552, allocations: 1.562 kB / 1.307 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.552, allocations: 1.781 kB / 1.307 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/1.553, allocations: 77.73 kB / 1.307 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/1.553, allocations: 8.047 kB / 1.307 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/1.553, allocations: 24.78 kB / 1.307 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/1.553, allocations: 26.39 kB / 1.307 GB, free: 8.828 MB / 1.029 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.0001614/1.553, allocations: 129.4 kB / 1.307 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/1.553, allocations: 17.94 kB / 1.307 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/1.555, allocations: 2.342 MB / 1.31 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/1.555, allocations: 14.39 kB / 1.31 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.555, allocations: 0 / 1.31 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.555, allocations: 1.219 kB / 1.31 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/1.558, allocations: 3.433 MB / 1.313 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.558, allocations: 0 / 1.313 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/1.558, allocations: 59.52 kB / 1.313 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/1.558, allocations: 0 / 1.313 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/1.558, allocations: 10.84 kB / 1.313 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/1.558, allocations: 6.656 kB / 1.313 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.558, allocations: 2.531 kB / 1.313 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/1.559, allocations: 0.5496 MB / 1.314 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/1.559, allocations: 137.2 kB / 1.314 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/1.559, allocations: 5 kB / 1.314 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/1.56, allocations: 19.36 kB / 1.314 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/1.56, allocations: 19.69 kB / 1.314 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/1.56, allocations: 19.41 kB / 1.314 GB, free: 7.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.589e-05/1.56, allocations: 111.2 kB / 1.314 GB, free: 7.664 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.21e-07/1.56, allocations: 0 / 1.314 GB, free: 7.664 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.008564/1.568, allocations: 1.646 MB / 1.315 GB, free: 7.434 MB / 1.029 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.01884/1.587, allocations: 1.91 MB / 1.317 GB, free: 7.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008781/1.588, allocations: 321.4 kB / 1.318 GB, free: 7.043 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.588, allocations: 1.203 kB / 1.318 GB, free: 7.043 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/1.589, allocations: 239.8 kB / 1.318 GB, free: 7.043 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/1.589, allocations: 73.38 kB / 1.318 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/1.59, allocations: 0.6339 MB / 1.319 GB, free: 6.777 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/1.591, allocations: 0.7671 MB / 1.319 GB, free: 6.078 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005452/1.592, allocations: 408.8 kB / 1.32 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/1.592, allocations: 46.88 kB / 1.32 GB, free: 6.031 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/1.592, allocations: 0 / 1.32 GB, free: 6.031 MB / 1.029 GB Notification: Performance of Templates: time 0.086/1.678, allocations: 57.09 MB / 1.375 GB, free: 4.703 MB / 1.061 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches