Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001582/0.001582, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001762/0.001762, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.507/2.507, allocations: 437 MB / 0.711 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 68.27 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3167, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.6328/0.9496, allocations: 136.1 MB / 1.151 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02761/0.9772, allocations: 22.68 MB / 1.173 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.9775, allocations: 1.094 kB / 1.173 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.9778, allocations: 51.73 kB / 1.173 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.9781, allocations: 89.23 kB / 1.173 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.02006/0.9982, allocations: 6.95 MB / 1.18 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.9986, allocations: 246.1 kB / 1.18 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.279e-05/0.9987, allocations: 17.8 kB / 1.18 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.999, allocations: 134.7 kB / 1.18 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.9991, allocations: 92.72 kB / 1.18 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.9992, allocations: 9.625 kB / 1.18 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02257/1.022, allocations: 11.34 MB / 1.191 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/1.022, allocations: 33.44 kB / 1.192 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/1.022, allocations: 80.08 kB / 1.192 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01658/1.039, allocations: 6.497 MB / 1.198 GB, free: 136 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.039, allocations: 0 / 1.198 GB, free: 136 kB / 0.8887 GB Notification: Performance of FrontEnd: time 3.446e-06/1.039, allocations: 3.984 kB / 1.198 GB, free: 132 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.039, allocations: 0 / 1.198 GB, free: 132 kB / 0.8887 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.00389/1.043, allocations: 1.201 MB / 1.199 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.043, allocations: 7.688 kB / 1.199 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.044, allocations: 82.8 kB / 1.199 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/1.044, allocations: 228.4 kB / 1.199 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/1.044, allocations: 20.12 kB / 1.199 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/1.044, allocations: 17.88 kB / 1.199 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/1.045, allocations: 452.9 kB / 1.2 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.045, allocations: 0 / 1.2 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/1.045, allocations: 13.73 kB / 1.2 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.045, allocations: 5.594 kB / 1.2 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/1.047, allocations: 0.5894 MB / 1.2 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/1.048, allocations: 0.8854 MB / 1.201 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/1.048, allocations: 257.7 kB / 1.202 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/1.049, allocations: 73.2 kB / 1.202 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0945/1.143, allocations: 35.04 MB / 1.236 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/1.143, allocations: 38.5 kB / 1.236 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/1.143, allocations: 0 / 1.236 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001878/1.145, allocations: 419.5 kB / 1.236 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/1.145, allocations: 55.41 kB / 1.236 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/1.145, allocations: 137.8 kB / 1.236 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/1.145, allocations: 37.7 kB / 1.237 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/1.145, allocations: 108.4 kB / 1.237 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/1.146, allocations: 78.77 kB / 1.237 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/1.146, allocations: 85.56 kB / 1.237 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.146, allocations: 326.8 kB / 1.237 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/1.146, allocations: 79.95 kB / 1.237 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/1.146, allocations: 142 kB / 1.237 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/1.147, allocations: 215 kB / 1.238 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.147, allocations: 0 / 1.238 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008254/1.148, allocations: 307.2 kB / 1.238 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.148, allocations: 8 kB / 1.238 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.148, allocations: 0 / 1.238 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.148, allocations: 4 kB / 1.238 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/1.148, allocations: 79.88 kB / 1.238 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.148, allocations: 0 / 1.238 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/1.148, allocations: 23.75 kB / 1.238 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/1.148, allocations: 27.91 kB / 1.238 GB, free: 4.941 MB / 0.9356 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.0001677/1.148, allocations: 137.9 kB / 1.238 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/1.149, allocations: 15.81 kB / 1.238 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/1.151, allocations: 2.343 MB / 1.24 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/1.151, allocations: 15.97 kB / 1.24 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.151, allocations: 3.938 kB / 1.24 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.151, allocations: 4 kB / 1.24 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/1.155, allocations: 3.423 MB / 1.244 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.155, allocations: 4 kB / 1.244 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/1.156, allocations: 55.89 kB / 1.244 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/1.156, allocations: 0 / 1.244 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/1.156, allocations: 15.92 kB / 1.244 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.156, allocations: 0 / 1.244 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.156, allocations: 0 / 1.244 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009224/1.157, allocations: 0.5495 MB / 1.244 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/1.157, allocations: 140.5 kB / 1.244 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/1.157, allocations: 7.938 kB / 1.244 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/1.157, allocations: 19.98 kB / 1.245 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/1.157, allocations: 11.98 kB / 1.245 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.72e-05/1.157, allocations: 15.98 kB / 1.245 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.612e-05/1.157, allocations: 109.7 kB / 1.245 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.157, allocations: 0 / 1.245 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0054/1.163, allocations: 1.694 MB / 1.246 GB, free: 12.22 MB / 0.9512 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.009571/1.172, allocations: 1.939 MB / 1.248 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.173, allocations: 333 kB / 1.249 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.173, allocations: 320 / 1.249 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/1.174, allocations: 252.5 kB / 1.249 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/1.174, allocations: 63.88 kB / 1.249 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/1.176, allocations: 0.6557 MB / 1.249 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/1.176, allocations: 0.7622 MB / 1.25 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/1.176, allocations: 59.41 kB / 1.25 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/1.176, allocations: 0 / 1.25 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of Templates: time 0.0533/1.229, allocations: 32.78 MB / 1.282 GB, free: 7.297 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_10_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches