Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 118.4 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] 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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_10_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_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 67.89 kB / 1.057 GB, free: 1.996 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2927, allocations: 160.7 MB / 1.214 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.7695/1.062, allocations: 135.9 MB / 1.347 GB, free: 2.125 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01009/1.072, allocations: 7.952 MB / 1.355 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/1.072, allocations: 0 / 1.355 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/1.072, allocations: 25.67 kB / 1.355 GB, free: 12.65 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.852e-05/1.073, allocations: 22.31 kB / 1.355 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004883/1.077, allocations: 1.466 MB / 1.356 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000163/1.078, allocations: 80.08 kB / 1.356 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/1.078, allocations: 5.109 kB / 1.356 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/1.078, allocations: 47.41 kB / 1.356 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.092e-05/1.078, allocations: 30.5 kB / 1.356 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/1.078, allocations: 3.344 kB / 1.356 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005561/1.083, allocations: 2.706 MB / 1.359 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/1.083, allocations: 17.73 kB / 1.359 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/1.084, allocations: 31.16 kB / 1.359 GB, free: 11.34 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002759/1.086, allocations: 1.377 MB / 1.36 GB, free: 11 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.086, allocations: 5.062 kB / 1.36 GB, free: 11 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/1.086, allocations: 4 kB / 1.36 GB, free: 10.99 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.041e-05/1.086, allocations: 0 / 1.36 GB, free: 10.99 MB / 1.045 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.001244/1.088, allocations: 0.4925 MB / 1.361 GB, free: 10.56 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/1.088, allocations: 10.25 kB / 1.361 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/1.088, allocations: 25.14 kB / 1.361 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/1.088, allocations: 170.9 kB / 1.361 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/1.088, allocations: 31.78 kB / 1.361 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/1.088, allocations: 12.28 kB / 1.361 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/1.089, allocations: 121.7 kB / 1.361 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.089, allocations: 1.781 kB / 1.361 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/1.089, allocations: 1.281 kB / 1.361 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/1.089, allocations: 1.281 kB / 1.361 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/1.089, allocations: 116.4 kB / 1.361 GB, free: 10.23 MB / 1.045 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/1.089, allocations: 383.5 kB / 1.362 GB, free: 9.855 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/1.09, allocations: 123.7 kB / 1.362 GB, free: 9.789 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/1.09, allocations: 45.45 kB / 1.362 GB, free: 9.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/1.102, allocations: 4.225 MB / 1.366 GB, free: 7.758 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/1.102, allocations: 32.72 kB / 1.366 GB, free: 7.719 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/1.102, allocations: 0 / 1.366 GB, free: 7.719 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0006126/1.103, allocations: 168.6 kB / 1.366 GB, free: 7.625 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/1.103, allocations: 52.47 kB / 1.366 GB, free: 7.562 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/1.103, allocations: 102.9 kB / 1.366 GB, free: 7.457 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/1.103, allocations: 30.73 kB / 1.366 GB, free: 7.422 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/1.103, allocations: 81.3 kB / 1.366 GB, free: 7.34 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/1.103, allocations: 52.42 kB / 1.366 GB, free: 7.293 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/1.103, allocations: 30.17 kB / 1.366 GB, free: 7.266 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.103, allocations: 316 kB / 1.367 GB, free: 6.949 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.224e-05/1.103, allocations: 25.2 kB / 1.367 GB, free: 6.938 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/1.104, allocations: 34.45 kB / 1.367 GB, free: 6.922 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/1.104, allocations: 74 kB / 1.367 GB, free: 6.879 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.104, allocations: 0 / 1.367 GB, free: 6.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002001/1.104, allocations: 102.8 kB / 1.367 GB, free: 6.816 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.104, allocations: 6.531 kB / 1.367 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.104, allocations: 0 / 1.367 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.104, allocations: 1.406 kB / 1.367 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/1.104, allocations: 24.73 kB / 1.367 GB, free: 6.809 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.104, allocations: 1.125 kB / 1.367 GB, free: 6.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/1.104, allocations: 10.05 kB / 1.367 GB, free: 6.801 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/1.104, allocations: 6.656 kB / 1.367 GB, free: 6.797 MB / 1.045 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 9.873e-05/1.104, allocations: 124.6 kB / 1.367 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/1.104, allocations: 20.14 kB / 1.367 GB, free: 6.652 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005061/1.105, allocations: 364.8 kB / 1.367 GB, free: 6.438 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/1.105, allocations: 6.234 kB / 1.367 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.105, allocations: 1.125 kB / 1.367 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.105, allocations: 0 / 1.367 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/1.105, allocations: 285.6 kB / 1.368 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.105, allocations: 0 / 1.368 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/1.105, allocations: 26.33 kB / 1.368 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/1.105, allocations: 0 / 1.368 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/1.105, allocations: 9.078 kB / 1.368 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/1.105, allocations: 5.031 kB / 1.368 GB, free: 6.137 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.105, allocations: 0 / 1.368 GB, free: 6.137 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/1.106, allocations: 334.8 kB / 1.368 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/1.106, allocations: 108.5 kB / 1.368 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/1.106, allocations: 1.094 kB / 1.368 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/1.106, allocations: 6.969 kB / 1.368 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/1.106, allocations: 12.23 kB / 1.368 GB, free: 5.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/1.106, allocations: 10.62 kB / 1.368 GB, free: 5.762 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.021e-05/1.106, allocations: 90.11 kB / 1.368 GB, free: 5.676 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/1.106, allocations: 0 / 1.368 GB, free: 5.676 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001343/1.107, allocations: 297.3 kB / 1.369 GB, free: 5.645 MB / 1.045 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.001429/1.109, allocations: 392.8 kB / 1.369 GB, free: 5.473 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002758/1.109, allocations: 127.1 kB / 1.369 GB, free: 5.414 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.109, allocations: 0 / 1.369 GB, free: 5.414 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/1.109, allocations: 85.97 kB / 1.369 GB, free: 5.375 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/1.109, allocations: 26.92 kB / 1.369 GB, free: 5.355 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005825/1.11, allocations: 332.5 kB / 1.369 GB, free: 5.105 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/1.11, allocations: 0.716 MB / 1.37 GB, free: 4.395 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/1.111, allocations: 15.97 kB / 1.37 GB, free: 4.387 MB / 1.045 GB Notification: Performance of SimCode: time 3.5e-07/1.111, allocations: 4 kB / 1.37 GB, free: 4.383 MB / 1.045 GB Notification: Performance of Templates: time 0.01356/1.124, allocations: 6.755 MB / 1.377 GB, free: 0.8867 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.803023420041427]