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.001541/0.001541, allocations: 102.2 kB / 16.27 MB, free: 6 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.00169/0.00169, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.218/2.218, allocations: 390.3 MB / 0.6653 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 66.83 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2494, allocations: 140.4 MB / 0.9503 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1405/0.3899, allocations: 136.1 MB / 1.083 GB, free: 264 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.5582/0.9481, allocations: 22.33 MB / 1.105 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.9484, allocations: 1.312 kB / 1.105 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.9487, allocations: 45.73 kB / 1.105 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.949, allocations: 96.3 kB / 1.105 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.03026/0.9793, allocations: 6.674 MB / 1.112 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006756/0.98, allocations: 252 kB / 1.112 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.9801, allocations: 13.78 kB / 1.112 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.9807, allocations: 139.6 kB / 1.112 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.981, allocations: 92.48 kB / 1.112 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.981, allocations: 9.406 kB / 1.112 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03848/1.02, allocations: 10.68 MB / 1.123 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/1.02, allocations: 39.83 kB / 1.123 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002676/1.02, allocations: 81.91 kB / 1.123 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02575/1.046, allocations: 6.163 MB / 1.129 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/1.046, allocations: 2.094 kB / 1.129 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/1.046, allocations: 0 / 1.129 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.706e-06/1.046, allocations: 0 / 1.129 GB, free: 6.789 MB / 0.8575 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.005797/1.052, allocations: 1.194 MB / 1.13 GB, free: 22.04 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.052, allocations: 10.03 kB / 1.13 GB, free: 22.04 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/1.053, allocations: 82.55 kB / 1.13 GB, free: 22.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/1.053, allocations: 229.4 kB / 1.13 GB, free: 21.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.053, allocations: 11.72 kB / 1.13 GB, free: 21.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/1.053, allocations: 22 kB / 1.13 GB, free: 21.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/1.054, allocations: 450.8 kB / 1.131 GB, free: 21.76 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.055, allocations: 1.797 kB / 1.131 GB, free: 21.76 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/1.055, allocations: 10.09 kB / 1.131 GB, free: 21.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.055, allocations: 4.75 kB / 1.131 GB, free: 21.76 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/1.056, allocations: 0.5922 MB / 1.131 GB, free: 21.76 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/1.057, allocations: 0.8793 MB / 1.132 GB, free: 21.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/1.058, allocations: 252.1 kB / 1.132 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/1.058, allocations: 72.42 kB / 1.132 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08954/1.147, allocations: 35.05 MB / 1.167 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.147, allocations: 45.03 kB / 1.167 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=25): time 2.315e-06/1.147, allocations: 0 / 1.167 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of matching and sorting (n=25): time 0.001837/1.149, allocations: 419.5 kB / 1.167 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.149, allocations: 55.28 kB / 1.167 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/1.149, allocations: 141.8 kB / 1.167 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/1.149, allocations: 33.95 kB / 1.167 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/1.15, allocations: 108.3 kB / 1.167 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/1.15, allocations: 87 kB / 1.167 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/1.15, allocations: 81.42 kB / 1.168 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.15, allocations: 325.2 kB / 1.168 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/1.15, allocations: 85.38 kB / 1.168 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/1.15, allocations: 132.1 kB / 1.168 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/1.151, allocations: 220.7 kB / 1.168 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.151, allocations: 1.906 kB / 1.168 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007012/1.151, allocations: 297.4 kB / 1.169 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.151, allocations: 10.08 kB / 1.169 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.151, allocations: 5.406 kB / 1.169 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.151, allocations: 3.094 kB / 1.169 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/1.152, allocations: 76.56 kB / 1.169 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.152, allocations: 2.312 kB / 1.169 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/1.152, allocations: 20.62 kB / 1.169 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/1.152, allocations: 31.25 kB / 1.169 GB, free: 14.52 MB / 0.8887 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.0001658/1.152, allocations: 128.1 kB / 1.169 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/1.152, allocations: 19.5 kB / 1.169 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/1.155, allocations: 2.344 MB / 1.171 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.155, allocations: 9.609 kB / 1.171 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.155, allocations: 1.203 kB / 1.171 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.155, allocations: 2.406 kB / 1.171 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/1.158, allocations: 3.426 MB / 1.175 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.158, allocations: 0 / 1.175 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/1.158, allocations: 68.41 kB / 1.175 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/1.158, allocations: 1.078 kB / 1.175 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/1.158, allocations: 11.41 kB / 1.175 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.158, allocations: 3.938 kB / 1.175 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.158, allocations: 1.875 kB / 1.175 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007956/1.159, allocations: 0.5432 MB / 1.175 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/1.159, allocations: 142.2 kB / 1.175 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/1.159, allocations: 6 kB / 1.175 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/1.16, allocations: 18.08 kB / 1.175 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/1.16, allocations: 26.75 kB / 1.175 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/1.16, allocations: 10.84 kB / 1.175 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 8.075e-05/1.16, allocations: 106.7 kB / 1.175 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.16, allocations: 0 / 1.175 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.006988/1.167, allocations: 1.622 MB / 1.177 GB, free: 10.94 MB / 0.8887 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.0123/1.179, allocations: 1.899 MB / 1.179 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009025/1.18, allocations: 335.1 kB / 1.179 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.18, allocations: 0 / 1.179 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003587/1.18, allocations: 238.4 kB / 1.179 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/1.181, allocations: 65.64 kB / 1.179 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/1.182, allocations: 0.6744 MB / 1.18 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/1.183, allocations: 0.7665 MB / 1.181 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/1.183, allocations: 50.86 kB / 1.181 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/1.183, allocations: 2.594 kB / 1.181 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of Templates: time 0.05281/1.236, allocations: 31.47 MB / 1.212 GB, free: 10.89 MB / 0.92 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches