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.001693/0.001693, allocations: 111 kB / 16.46 MB, free: 6.504 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.002099/0.002099, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.432/1.432, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.695/2.695, allocations: 443.5 MB / 0.7287 GB, free: 13.18 MB / 0.5919 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: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 1.056 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7948/0.7968, allocations: 160.7 MB / 1.213 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1706/0.9673, allocations: 135.9 MB / 1.346 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.9788, allocations: 7.951 MB / 1.353 GB, free: 7.746 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.9789, allocations: 7.938 kB / 1.353 GB, free: 7.738 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.9791, allocations: 31.83 kB / 1.353 GB, free: 7.707 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.586e-05/0.9791, allocations: 19.84 kB / 1.353 GB, free: 7.688 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004538/0.9837, allocations: 1.459 MB / 1.355 GB, free: 6.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.9838, allocations: 79.64 kB / 1.355 GB, free: 6.152 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.9838, allocations: 3.938 kB / 1.355 GB, free: 6.148 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.984, allocations: 47.83 kB / 1.355 GB, free: 6.102 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.9841, allocations: 27.92 kB / 1.355 GB, free: 6.074 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.9841, allocations: 4 kB / 1.355 GB, free: 6.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/0.9893, allocations: 2.712 MB / 1.358 GB, free: 3.355 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.9894, allocations: 15.91 kB / 1.358 GB, free: 3.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.9894, allocations: 27.88 kB / 1.358 GB, free: 3.312 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.9921, allocations: 1.388 MB / 1.359 GB, free: 1.922 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9921, allocations: 0 / 1.359 GB, free: 1.922 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9921, allocations: 0 / 1.359 GB, free: 1.922 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.9921, allocations: 0 / 1.359 GB, free: 1.922 MB / 1.061 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.001181/0.9933, allocations: 0.4967 MB / 1.36 GB, free: 1.379 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.9933, allocations: 8.625 kB / 1.36 GB, free: 1.371 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.9934, allocations: 42.75 kB / 1.36 GB, free: 1.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.9938, allocations: 24.86 kB / 1.36 GB, free: 1.297 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.994, allocations: 168.3 kB / 1.36 GB, free: 1.094 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.995e-05/0.994, allocations: 41.95 kB / 1.36 GB, free: 1.047 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.9941, allocations: 4 kB / 1.36 GB, free: 1.043 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.9945, allocations: 127.1 kB / 1.36 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9945, allocations: 0 / 1.36 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.9946, allocations: 0 / 1.36 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.9946, allocations: 0 / 1.36 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.9949, allocations: 123.9 kB / 1.36 GB, free: 0.793 MB / 1.061 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.0005929/0.9955, allocations: 376.1 kB / 1.36 GB, free: 372 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.9958, allocations: 114.5 kB / 1.361 GB, free: 248 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.9958, allocations: 48.83 kB / 1.361 GB, free: 196 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01277/1.009, allocations: 4.222 MB / 1.365 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/1.009, allocations: 30.56 kB / 1.365 GB, free: 11.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/1.009, allocations: 4 kB / 1.365 GB, free: 11.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0005922/1.009, allocations: 170.9 kB / 1.365 GB, free: 11.44 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/1.009, allocations: 51.41 kB / 1.365 GB, free: 11.38 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/1.009, allocations: 113.7 kB / 1.365 GB, free: 11.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/1.009, allocations: 25.7 kB / 1.365 GB, free: 11.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/1.009, allocations: 80.14 kB / 1.365 GB, free: 11.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/1.01, allocations: 51.58 kB / 1.365 GB, free: 11.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/1.01, allocations: 33.7 kB / 1.365 GB, free: 11.05 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002102/1.01, allocations: 318.8 kB / 1.366 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.85e-05/1.01, allocations: 23.98 kB / 1.366 GB, free: 10.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/1.01, allocations: 25.75 kB / 1.366 GB, free: 10.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/1.01, allocations: 68.84 kB / 1.366 GB, free: 10.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.01, allocations: 0 / 1.366 GB, free: 10.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002504/1.01, allocations: 103 kB / 1.366 GB, free: 10.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.01, allocations: 11.94 kB / 1.366 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/1.01, allocations: 0 / 1.366 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.01, allocations: 3.938 kB / 1.366 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/1.01, allocations: 23.98 kB / 1.366 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.01, allocations: 11.98 kB / 1.366 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/1.011, allocations: 11.83 kB / 1.366 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/1.011, allocations: 7.984 kB / 1.366 GB, free: 10.44 MB / 1.076 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.345e-05/1.011, allocations: 110.7 kB / 1.366 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/1.011, allocations: 11.95 kB / 1.366 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/1.011, allocations: 372 kB / 1.366 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/1.011, allocations: 4 kB / 1.366 GB, free: 9.938 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.011, allocations: 0 / 1.366 GB, free: 9.938 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/1.011, allocations: 11.92 kB / 1.366 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/1.012, allocations: 285.4 kB / 1.367 GB, free: 9.598 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.012, allocations: 0 / 1.367 GB, free: 9.598 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/1.012, allocations: 19.98 kB / 1.367 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.012, allocations: 4 kB / 1.367 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/1.012, allocations: 0 / 1.367 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.012, allocations: 0 / 1.367 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.012, allocations: 0 / 1.367 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/1.012, allocations: 338.9 kB / 1.367 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/1.012, allocations: 109 kB / 1.367 GB, free: 9.102 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/1.012, allocations: 0 / 1.367 GB, free: 9.102 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/1.013, allocations: 11.98 kB / 1.367 GB, free: 9.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/1.013, allocations: 7.938 kB / 1.367 GB, free: 9.082 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/1.013, allocations: 7.984 kB / 1.367 GB, free: 9.074 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.64e-05/1.013, allocations: 83.28 kB / 1.367 GB, free: 8.992 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/1.013, allocations: 0 / 1.367 GB, free: 8.992 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009378/1.014, allocations: 303.6 kB / 1.367 GB, free: 8.695 MB / 1.076 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.002123/1.016, allocations: 1.149 MB / 1.369 GB, free: 7.516 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002466/1.016, allocations: 127.1 kB / 1.369 GB, free: 7.395 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.016, allocations: 0 / 1.369 GB, free: 7.395 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/1.016, allocations: 83.97 kB / 1.369 GB, free: 7.312 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/1.016, allocations: 19.92 kB / 1.369 GB, free: 7.293 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/1.017, allocations: 434.4 kB / 1.369 GB, free: 6.828 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/1.018, allocations: 0.7127 MB / 1.37 GB, free: 6.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001196/1.018, allocations: 36.33 kB / 1.37 GB, free: 6.055 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/1.018, allocations: 39.42 kB / 1.37 GB, free: 6.016 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.018, allocations: 0 / 1.37 GB, free: 6.016 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03858/1.057, allocations: 11.64 MB / 1.381 GB, free: 10.46 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.536, allocations: 8.047 kB / 1.381 GB, free: 10.45 MB / 1.092 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 420.0] 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: 15.440071079414338]