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.007065/0.007065, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001254/0.001254, allocations: 192 kB / 16.67 MB, free: 5.973 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.491/2.491, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 58.72 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3445, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1628/0.5073, allocations: 136.1 MB / 1.221 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02678/0.5342, allocations: 22.34 MB / 1.243 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.5346, allocations: 0 / 1.243 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.5351, allocations: 43.69 kB / 1.243 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.5357, allocations: 99.34 kB / 1.243 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02344/0.5592, allocations: 6.686 MB / 1.249 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000428/0.5596, allocations: 251.9 kB / 1.25 GB, free: 11.31 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.5597, allocations: 17.48 kB / 1.25 GB, free: 11.29 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.56, allocations: 139.5 kB / 1.25 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.5602, allocations: 87.66 kB / 1.25 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.5602, allocations: 8 kB / 1.25 GB, free: 11.06 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02244/0.5826, allocations: 10.97 MB / 1.261 GB, free: 84 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.5828, allocations: 35.84 kB / 1.261 GB, free: 48 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.8127/1.395, allocations: 80.91 kB / 1.261 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02577/1.421, allocations: 6.145 MB / 1.267 GB, free: 12.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/1.421, allocations: 0.7031 kB / 1.267 GB, free: 12.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.128e-06/1.421, allocations: 2.375 kB / 1.267 GB, free: 12.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.576e-05/1.421, allocations: 1.203 kB / 1.267 GB, free: 12.66 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.008943/1.43, allocations: 1.19 MB / 1.268 GB, free: 11.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/1.43, allocations: 13.78 kB / 1.268 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/1.432, allocations: 80.66 kB / 1.268 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/1.432, allocations: 227.5 kB / 1.268 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/1.432, allocations: 10.59 kB / 1.268 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/1.432, allocations: 22.69 kB / 1.268 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/1.434, allocations: 448.2 kB / 1.269 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.434, allocations: 2.656 kB / 1.269 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/1.434, allocations: 9.562 kB / 1.269 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/1.434, allocations: 8.781 kB / 1.269 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/1.435, allocations: 0.5952 MB / 1.269 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/1.436, allocations: 0.8854 MB / 1.27 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009556/1.437, allocations: 254 kB / 1.27 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/1.438, allocations: 73.75 kB / 1.27 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09752/1.535, allocations: 35.43 MB / 1.305 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/1.535, allocations: 37.72 kB / 1.305 GB, free: 9.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 2.384e-06/1.535, allocations: 4 kB / 1.305 GB, free: 9.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001778/1.537, allocations: 420.7 kB / 1.305 GB, free: 9.793 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/1.537, allocations: 54.16 kB / 1.305 GB, free: 9.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/1.537, allocations: 150.3 kB / 1.306 GB, free: 9.625 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/1.537, allocations: 28.45 kB / 1.306 GB, free: 9.594 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/1.537, allocations: 106.1 kB / 1.306 GB, free: 9.504 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/1.537, allocations: 81.27 kB / 1.306 GB, free: 9.449 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/1.537, allocations: 81.31 kB / 1.306 GB, free: 9.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.538, allocations: 339 kB / 1.306 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/1.538, allocations: 81.3 kB / 1.306 GB, free: 9.109 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/1.538, allocations: 123.7 kB / 1.306 GB, free: 9.062 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/1.538, allocations: 224.3 kB / 1.307 GB, free: 9.012 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.538, allocations: 0 / 1.307 GB, free: 9.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006706/1.539, allocations: 290.9 kB / 1.307 GB, free: 8.973 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.539, allocations: 6.969 kB / 1.307 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.539, allocations: 7.5 kB / 1.307 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.539, allocations: 6.969 kB / 1.307 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/1.539, allocations: 80.62 kB / 1.307 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.539, allocations: 1.719 kB / 1.307 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/1.54, allocations: 26.09 kB / 1.307 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/1.54, allocations: 24.61 kB / 1.307 GB, free: 8.953 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.0001489/1.54, allocations: 133.2 kB / 1.307 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/1.54, allocations: 16.84 kB / 1.307 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/1.542, allocations: 2.339 MB / 1.309 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/1.542, allocations: 21.09 kB / 1.309 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.542, allocations: 1.219 kB / 1.31 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/1.542, allocations: 3 kB / 1.31 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/1.545, allocations: 3.424 MB / 1.313 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.545, allocations: 4.281 kB / 1.313 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/1.546, allocations: 58.39 kB / 1.313 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.546, allocations: 0.5625 kB / 1.313 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/1.546, allocations: 6.875 kB / 1.313 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/1.546, allocations: 6.281 kB / 1.313 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.546, allocations: 6.906 kB / 1.313 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007217/1.546, allocations: 0.5465 MB / 1.313 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/1.547, allocations: 142.5 kB / 1.314 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/1.547, allocations: 7.062 kB / 1.314 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/1.547, allocations: 15.67 kB / 1.314 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/1.547, allocations: 17.53 kB / 1.314 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/1.547, allocations: 16.69 kB / 1.314 GB, free: 7.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.937e-05/1.547, allocations: 114.9 kB / 1.314 GB, free: 7.793 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.547, allocations: 0 / 1.314 GB, free: 7.793 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01044/1.557, allocations: 1.623 MB / 1.315 GB, free: 7.59 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.01742/1.575, allocations: 1.888 MB / 1.317 GB, free: 7.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000752/1.576, allocations: 322.1 kB / 1.317 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.576, allocations: 4.297 kB / 1.318 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/1.576, allocations: 239.2 kB / 1.318 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/1.577, allocations: 61.73 kB / 1.318 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/1.578, allocations: 0.6316 MB / 1.318 GB, free: 6.965 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/1.578, allocations: 0.7658 MB / 1.319 GB, free: 6.266 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004944/1.579, allocations: 404 kB / 1.32 GB, free: 6.238 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/1.579, allocations: 50.12 kB / 1.32 GB, free: 6.23 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/1.579, allocations: 4 kB / 1.32 GB, free: 6.227 MB / 1.029 GB Notification: Performance of Templates: time 0.07912/1.658, allocations: 57.1 MB / 1.375 GB, free: 4.969 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