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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001258/0.001259, allocations: 115.2 kB / 16.37 MB, free: 6.016 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.001173/0.001174, allocations: 193.2 kB / 17.31 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 66.58 kB / 0.814 GB, free: 32.49 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2732, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.7014/0.9746, allocations: 136.1 MB / 1.084 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02537/1, allocations: 22.34 MB / 1.106 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/1, allocations: 1.531 kB / 1.106 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003046/1.001, allocations: 46.55 kB / 1.106 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003237/1.001, allocations: 97.83 kB / 1.106 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.02159/1.023, allocations: 6.666 MB / 1.113 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004496/1.023, allocations: 248 kB / 1.113 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/1.023, allocations: 15.86 kB / 1.113 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/1.023, allocations: 139.9 kB / 1.113 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/1.024, allocations: 86.92 kB / 1.113 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/1.024, allocations: 8.625 kB / 1.113 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02633/1.05, allocations: 10.96 MB / 1.124 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/1.05, allocations: 42.39 kB / 1.124 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000191/1.05, allocations: 80.06 kB / 1.124 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01745/1.068, allocations: 6.15 MB / 1.13 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.068, allocations: 0.9375 kB / 1.13 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/1.068, allocations: 0 / 1.13 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.841e-06/1.068, allocations: 0 / 1.13 GB, free: 6.664 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.005327/1.073, allocations: 1.193 MB / 1.131 GB, free: 21.91 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.073, allocations: 9.594 kB / 1.131 GB, free: 21.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/1.074, allocations: 80.19 kB / 1.131 GB, free: 21.91 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/1.075, allocations: 233.4 kB / 1.131 GB, free: 21.7 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/1.075, allocations: 14.56 kB / 1.131 GB, free: 21.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/1.075, allocations: 18.86 kB / 1.131 GB, free: 21.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/1.076, allocations: 462.9 kB / 1.132 GB, free: 21.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.076, allocations: 0 / 1.132 GB, free: 21.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/1.076, allocations: 10.27 kB / 1.132 GB, free: 21.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.076, allocations: 3.844 kB / 1.132 GB, free: 21.62 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/1.077, allocations: 0.596 MB / 1.132 GB, free: 21.62 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/1.078, allocations: 0.8729 MB / 1.133 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008067/1.079, allocations: 253.1 kB / 1.133 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/1.079, allocations: 74.23 kB / 1.134 GB, free: 20.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1147/1.194, allocations: 35.43 MB / 1.168 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/1.194, allocations: 37.25 kB / 1.168 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=25): time 3.386e-06/1.194, allocations: 0 / 1.168 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of matching and sorting (n=25): time 0.003314/1.197, allocations: 420.3 kB / 1.169 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.449e-05/1.197, allocations: 59.31 kB / 1.169 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/1.198, allocations: 143.3 kB / 1.169 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/1.198, allocations: 32.3 kB / 1.169 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/1.198, allocations: 110.1 kB / 1.169 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/1.198, allocations: 83.44 kB / 1.169 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/1.198, allocations: 81.5 kB / 1.169 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002201/1.199, allocations: 331 kB / 1.169 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/1.199, allocations: 79.61 kB / 1.169 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/1.199, allocations: 127.8 kB / 1.17 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007876/1.2, allocations: 223.7 kB / 1.17 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.2, allocations: 1.203 kB / 1.17 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001347/1.202, allocations: 297.4 kB / 1.17 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.202, allocations: 2.531 kB / 1.17 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.202, allocations: 2.531 kB / 1.17 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/1.202, allocations: 1.781 kB / 1.17 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/1.202, allocations: 80.41 kB / 1.17 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/1.202, allocations: 2.781 kB / 1.17 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/1.203, allocations: 24.91 kB / 1.17 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/1.203, allocations: 28.19 kB / 1.17 GB, free: 13.93 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.0003569/1.203, allocations: 131.9 kB / 1.17 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/1.204, allocations: 16.09 kB / 1.17 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/1.207, allocations: 2.344 MB / 1.173 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/1.208, allocations: 9.609 kB / 1.173 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.208, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.208, allocations: 3.984 kB / 1.173 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006053/1.214, allocations: 3.437 MB / 1.176 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.214, allocations: 2.375 kB / 1.176 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/1.214, allocations: 53.89 kB / 1.176 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/1.214, allocations: 2.594 kB / 1.176 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/1.214, allocations: 7.406 kB / 1.176 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/1.214, allocations: 3.938 kB / 1.176 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.214, allocations: 1.094 kB / 1.176 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/1.216, allocations: 0.551 MB / 1.177 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/1.216, allocations: 144.3 kB / 1.177 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/1.217, allocations: 4 kB / 1.177 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/1.217, allocations: 15.91 kB / 1.177 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/1.217, allocations: 18.59 kB / 1.177 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/1.217, allocations: 12.5 kB / 1.177 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001786/1.217, allocations: 109.4 kB / 1.177 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of sort global known variables: time 6.51e-07/1.217, allocations: 0 / 1.177 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.01148/1.229, allocations: 1.62 MB / 1.178 GB, free: 10.48 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.01741/1.246, allocations: 1.901 MB / 1.18 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.248, allocations: 329.3 kB / 1.181 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.248, allocations: 0 / 1.181 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005726/1.248, allocations: 237.7 kB / 1.181 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/1.249, allocations: 70 kB / 1.181 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/1.251, allocations: 0.6295 MB / 1.182 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/1.252, allocations: 0.7657 MB / 1.182 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009577/1.253, allocations: 409.9 kB / 1.183 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/1.253, allocations: 45.95 kB / 1.183 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of SimCode: time 9.82e-07/1.253, allocations: 0 / 1.183 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of Templates: time 0.1311/1.384, allocations: 57.02 MB / 1.238 GB, free: 460 kB / 0.9356 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 -s gbode -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