Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002507/0.002507, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002841/0.002841, allocations: 157.7 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.071/3.071, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.089e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1902/0.1903, allocations: 131 MB / 0.9387 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.2025, allocations: 7.913 MB / 0.9464 GB, free: 6.789 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.754e-05/0.2026, allocations: 4 kB / 0.9464 GB, free: 6.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.2028, allocations: 27.83 kB / 0.9465 GB, free: 6.758 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.415e-05/0.2029, allocations: 23.78 kB / 0.9465 GB, free: 6.734 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.004482/0.2074, allocations: 1.467 MB / 0.9479 GB, free: 5.262 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.2076, allocations: 79.62 kB / 0.948 GB, free: 5.184 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.2076, allocations: 0 / 0.948 GB, free: 5.184 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.2078, allocations: 59.81 kB / 0.948 GB, free: 5.125 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.585e-05/0.2079, allocations: 31.89 kB / 0.9481 GB, free: 5.094 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.2079, allocations: 4 kB / 0.9481 GB, free: 5.09 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005421/0.2133, allocations: 2.614 MB / 0.9506 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.2135, allocations: 19.91 kB / 0.9507 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.2135, allocations: 23.97 kB / 0.9507 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003665/0.2172, allocations: 1.801 MB / 0.9524 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2172, allocations: 0 / 0.9524 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2172, allocations: 0 / 0.9524 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.2172, allocations: 3.984 kB / 0.9524 GB, free: 0.6211 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001356/0.2186, allocations: 0.5148 MB / 0.9529 GB, free: 72 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2186, allocations: 12.03 kB / 0.953 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004573/0.2191, allocations: 56.58 kB / 0.953 GB, free: 4 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.2192, allocations: 116.5 kB / 0.9531 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.574e-05/0.2193, allocations: 51.97 kB / 0.9532 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.2193, allocations: 12.38 kB / 0.9532 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.2198, allocations: 141.5 kB / 0.9533 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2198, allocations: 0 / 0.9533 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.2198, allocations: 0 / 0.9533 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.2198, allocations: 4 kB / 0.9533 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.2201, allocations: 99.89 kB / 0.9534 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.2207, allocations: 319.6 kB / 0.9537 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.221, allocations: 134.9 kB / 0.9538 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.2211, allocations: 47.66 kB / 0.9539 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01261/0.2337, allocations: 3.058 MB / 0.9569 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.2337, allocations: 33.39 kB / 0.9569 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.2337, allocations: 0 / 0.9569 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0006343/0.2344, allocations: 177.4 kB / 0.9571 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.2344, allocations: 59.41 kB / 0.9571 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2346, allocations: 161.9 kB / 0.9573 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.2346, allocations: 25.7 kB / 0.9573 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.2347, allocations: 130.9 kB / 0.9574 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.2347, allocations: 51.53 kB / 0.9575 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.2348, allocations: 35.36 kB / 0.9575 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003349/0.2351, allocations: 496.1 kB / 0.958 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.2352, allocations: 23.98 kB / 0.958 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.2352, allocations: 23.98 kB / 0.958 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2354, allocations: 73.48 kB / 0.9581 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.2354, allocations: 4 kB / 0.9581 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002325/0.2356, allocations: 113.6 kB / 0.9582 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2356, allocations: 4 kB / 0.9582 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2357, allocations: 0 / 0.9582 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2357, allocations: 0 / 0.9582 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2358, allocations: 27.98 kB / 0.9583 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2358, allocations: 0 / 0.9583 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.2359, allocations: 3.953 kB / 0.9583 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2359, allocations: 4 kB / 0.9583 GB, free: 10.43 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001459/0.236, allocations: 176.5 kB / 0.9584 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.2361, allocations: 19.88 kB / 0.9585 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.2366, allocations: 276.1 kB / 0.9587 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.2366, allocations: 4 kB / 0.9587 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2366, allocations: 0 / 0.9587 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2366, allocations: 3.984 kB / 0.9587 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.2369, allocations: 196.4 kB / 0.9589 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2369, allocations: 0 / 0.9589 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.237, allocations: 23.98 kB / 0.9589 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.237, allocations: 0 / 0.9589 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.237, allocations: 0 / 0.9589 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.237, allocations: 7.922 kB / 0.9589 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.237, allocations: 8 kB / 0.9589 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.2375, allocations: 343.4 kB / 0.9593 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.2375, allocations: 31.81 kB / 0.9593 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.2375, allocations: 4 kB / 0.9593 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2377, allocations: 7.938 kB / 0.9593 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.2377, allocations: 7.984 kB / 0.9593 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.2377, allocations: 11.98 kB / 0.9593 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.225e-05/0.2378, allocations: 123.2 kB / 0.9595 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.2378, allocations: 0 / 0.9595 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001014/0.2388, allocations: 307.6 kB / 0.9597 GB, free: 8.836 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001582/0.2404, allocations: 451 kB / 0.9602 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.2406, allocations: 106.6 kB / 0.9603 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2406, allocations: 0 / 0.9603 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.2407, allocations: 79.53 kB / 0.9604 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.2411, allocations: 38.12 kB / 0.9604 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.2417, allocations: 290.4 kB / 0.9607 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.2418, allocations: 106.1 kB / 0.9608 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000117/0.2419, allocations: 28.41 kB / 0.9608 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.242, allocations: 20.48 kB / 0.9608 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.242, allocations: 0 / 0.9608 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of Templates: time 0.02026/0.2622, allocations: 10.32 MB / 0.9709 GB, free: 13.4 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.780885985004716]