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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001528/0.001528, allocations: 104.9 kB / 16.35 MB, free: 5.902 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.00167/0.00167, allocations: 193.9 kB / 17.29 MB, free: 5.523 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 64.83 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2687, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.6298/0.8985, allocations: 136.1 MB / 1.152 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02641/0.925, allocations: 22.69 MB / 1.174 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.9252, allocations: 3.938 kB / 1.174 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.9254, allocations: 43.22 kB / 1.174 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.9258, allocations: 85.91 kB / 1.174 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01882/0.9446, allocations: 6.949 MB / 1.181 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.9451, allocations: 245 kB / 1.181 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.9452, allocations: 12.95 kB / 1.181 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.9455, allocations: 142.5 kB / 1.181 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.9457, allocations: 93.38 kB / 1.181 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.9457, allocations: 12.41 kB / 1.181 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02241/0.9681, allocations: 11.64 MB / 1.193 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.9682, allocations: 37.95 kB / 1.193 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.9684, allocations: 85.17 kB / 1.193 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.9832, allocations: 6.477 MB / 1.199 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.9832, allocations: 2.125 kB / 1.199 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9832, allocations: 0 / 1.199 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.9832, allocations: 0 / 1.199 GB, free: 15.37 MB / 0.9044 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.003365/0.9866, allocations: 1.201 MB / 1.2 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.9866, allocations: 7.781 kB / 1.2 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.9877, allocations: 88.77 kB / 1.2 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.988, allocations: 226.8 kB / 1.201 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.988, allocations: 12.12 kB / 1.201 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.9881, allocations: 21.94 kB / 1.201 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.9892, allocations: 452.5 kB / 1.201 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.9892, allocations: 7.984 kB / 1.201 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.9892, allocations: 6.281 kB / 1.201 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.9892, allocations: 2.875 kB / 1.201 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.9904, allocations: 0.5921 MB / 1.202 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.9915, allocations: 0.888 MB / 1.202 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008406/0.9923, allocations: 251.9 kB / 1.203 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.9924, allocations: 76.83 kB / 1.203 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08371/1.076, allocations: 35.4 MB / 1.237 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.076, allocations: 42.55 kB / 1.237 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/1.076, allocations: 7.938 kB / 1.237 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001815/1.078, allocations: 420.4 kB / 1.238 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/1.078, allocations: 59.34 kB / 1.238 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/1.078, allocations: 136.5 kB / 1.238 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/1.078, allocations: 29.7 kB / 1.238 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/1.078, allocations: 116.4 kB / 1.238 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/1.078, allocations: 78.75 kB / 1.238 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/1.079, allocations: 85.52 kB / 1.238 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.079, allocations: 334.8 kB / 1.239 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/1.079, allocations: 79.94 kB / 1.239 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/1.079, allocations: 138 kB / 1.239 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/1.08, allocations: 219.2 kB / 1.239 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.08, allocations: 0 / 1.239 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008063/1.08, allocations: 293.3 kB / 1.239 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.08, allocations: 4 kB / 1.239 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.08, allocations: 4 kB / 1.239 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.081, allocations: 4.156 kB / 1.239 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/1.081, allocations: 86.94 kB / 1.239 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.081, allocations: 0 / 1.239 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/1.081, allocations: 23.75 kB / 1.239 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/1.081, allocations: 27.91 kB / 1.239 GB, free: 3.551 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.0001553/1.081, allocations: 129.8 kB / 1.24 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/1.081, allocations: 15.81 kB / 1.24 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/1.084, allocations: 2.338 MB / 1.242 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/1.084, allocations: 15.98 kB / 1.242 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.084, allocations: 0 / 1.242 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.084, allocations: 7.875 kB / 1.242 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/1.087, allocations: 3.427 MB / 1.245 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.087, allocations: 0 / 1.245 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/1.087, allocations: 59.88 kB / 1.245 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/1.087, allocations: 7.984 kB / 1.245 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/1.087, allocations: 7.938 kB / 1.245 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/1.087, allocations: 4 kB / 1.245 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.087, allocations: 4 kB / 1.245 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/1.088, allocations: 0.5465 MB / 1.246 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/1.088, allocations: 140.5 kB / 1.246 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/1.088, allocations: 11.92 kB / 1.246 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/1.089, allocations: 15.94 kB / 1.246 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/1.089, allocations: 19.97 kB / 1.246 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/1.089, allocations: 8 kB / 1.246 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.418e-05/1.089, allocations: 111.2 kB / 1.246 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.089, allocations: 0 / 1.246 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004826/1.094, allocations: 1.691 MB / 1.248 GB, free: 10.83 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.009372/1.103, allocations: 1.921 MB / 1.25 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006944/1.104, allocations: 327.8 kB / 1.25 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/1.104, allocations: 0 / 1.25 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/1.104, allocations: 252.4 kB / 1.25 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/1.105, allocations: 70.3 kB / 1.25 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/1.106, allocations: 0.6267 MB / 1.251 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/1.106, allocations: 0.7661 MB / 1.252 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005537/1.107, allocations: 405 kB / 1.252 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/1.107, allocations: 47.41 kB / 1.252 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/1.107, allocations: 0 / 1.252 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of Templates: time 0.07234/1.179, allocations: 59.37 MB / 1.31 GB, free: 10.97 MB / 1.014 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 -s gbode -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