Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001286/0.001286, allocations: 106.5 kB / 16.4 MB, free: 6.492 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.001452/0.001452, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.406/1.406, allocations: 222.9 MB / 245.1 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 489 MB / 0.7678 GB, free: 24 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 59.91 kB / 1.101 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7876/0.7895, allocations: 163.8 MB / 1.261 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.163/0.9526, allocations: 135.6 MB / 1.393 GB, free: 15.11 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.9627, allocations: 7.918 MB / 1.401 GB, free: 7.164 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.9628, allocations: 3.938 kB / 1.401 GB, free: 7.16 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.963, allocations: 27.83 kB / 1.401 GB, free: 7.133 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.647e-05/0.9631, allocations: 15.84 kB / 1.401 GB, free: 7.117 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.9675, allocations: 1.452 MB / 1.403 GB, free: 5.664 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.9677, allocations: 83.62 kB / 1.403 GB, free: 5.582 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.9677, allocations: 8 kB / 1.403 GB, free: 5.574 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.9679, allocations: 51.77 kB / 1.403 GB, free: 5.523 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.968, allocations: 23.92 kB / 1.403 GB, free: 5.5 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.968, allocations: 4 kB / 1.403 GB, free: 5.496 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005046/0.9731, allocations: 2.7 MB / 1.405 GB, free: 2.793 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.9731, allocations: 19.91 kB / 1.405 GB, free: 2.773 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.9732, allocations: 31.86 kB / 1.405 GB, free: 2.742 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.9756, allocations: 1.376 MB / 1.407 GB, free: 1.363 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9756, allocations: 4 kB / 1.407 GB, free: 1.359 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9756, allocations: 0 / 1.407 GB, free: 1.359 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.9757, allocations: 0 / 1.407 GB, free: 1.359 MB / 1.107 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.0009499/0.9766, allocations: 0.4906 MB / 1.407 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.9767, allocations: 8.031 kB / 1.407 GB, free: 0.8125 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.9767, allocations: 46.67 kB / 1.407 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/0.9771, allocations: 24.88 kB / 1.407 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.9772, allocations: 176.2 kB / 1.407 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/0.9773, allocations: 41.95 kB / 1.408 GB, free: 488 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.9773, allocations: 8 kB / 1.408 GB, free: 480 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.9777, allocations: 117.6 kB / 1.408 GB, free: 356 kB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.9777, allocations: 0 / 1.408 GB, free: 356 kB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.9777, allocations: 4 kB / 1.408 GB, free: 352 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.9777, allocations: 3.938 kB / 1.408 GB, free: 348 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.978, allocations: 115.9 kB / 1.408 GB, free: 232 kB / 1.107 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.0005323/0.9786, allocations: 372.1 kB / 1.408 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.9788, allocations: 126.6 kB / 1.408 GB, free: 15.67 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.9789, allocations: 52.83 kB / 1.408 GB, free: 15.61 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/0.9908, allocations: 4.242 MB / 1.412 GB, free: 11.05 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.9908, allocations: 30.56 kB / 1.412 GB, free: 11.02 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.9909, allocations: 0 / 1.412 GB, free: 11.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0005157/0.9914, allocations: 168.8 kB / 1.413 GB, free: 10.85 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.9914, allocations: 51.41 kB / 1.413 GB, free: 10.79 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.9915, allocations: 109.9 kB / 1.413 GB, free: 10.67 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.9915, allocations: 25.7 kB / 1.413 GB, free: 10.64 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.9916, allocations: 84.14 kB / 1.413 GB, free: 10.55 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.9917, allocations: 47.59 kB / 1.413 GB, free: 10.5 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.9917, allocations: 29.7 kB / 1.413 GB, free: 10.47 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9918, allocations: 314.8 kB / 1.413 GB, free: 10.15 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.9919, allocations: 27.92 kB / 1.413 GB, free: 10.12 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.992, allocations: 23.98 kB / 1.413 GB, free: 10.1 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.9921, allocations: 76.84 kB / 1.413 GB, free: 10.02 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9921, allocations: 0 / 1.413 GB, free: 10.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001868/0.9923, allocations: 101.7 kB / 1.413 GB, free: 9.918 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.9923, allocations: 7.938 kB / 1.413 GB, free: 9.91 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.9923, allocations: 48 / 1.413 GB, free: 9.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.9923, allocations: 7.984 kB / 1.414 GB, free: 9.902 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.9925, allocations: 27.92 kB / 1.414 GB, free: 9.875 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.9925, allocations: 0 / 1.414 GB, free: 9.875 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.576e-05/0.9925, allocations: 19.83 kB / 1.414 GB, free: 9.855 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.9926, allocations: 0 / 1.414 GB, free: 9.855 MB / 1.123 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.143e-05/0.9927, allocations: 122.5 kB / 1.414 GB, free: 9.727 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.9927, allocations: 7.953 kB / 1.414 GB, free: 9.719 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.9932, allocations: 372 kB / 1.414 GB, free: 9.348 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.9932, allocations: 3.984 kB / 1.414 GB, free: 9.344 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.9932, allocations: 7.938 kB / 1.414 GB, free: 9.336 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.9932, allocations: 3.938 kB / 1.414 GB, free: 9.332 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.9935, allocations: 285.4 kB / 1.414 GB, free: 9.004 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.9936, allocations: 0 / 1.414 GB, free: 9.004 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.649e-05/0.9937, allocations: 19.98 kB / 1.414 GB, free: 8.984 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9937, allocations: 4 kB / 1.414 GB, free: 8.98 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.9937, allocations: 8 kB / 1.414 GB, free: 8.973 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.9937, allocations: 0 / 1.414 GB, free: 8.973 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9937, allocations: 3.984 kB / 1.414 GB, free: 8.969 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.9941, allocations: 331 kB / 1.415 GB, free: 8.629 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-05/0.9942, allocations: 101 kB / 1.415 GB, free: 8.512 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.9942, allocations: 0 / 1.415 GB, free: 8.512 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.9943, allocations: 11.98 kB / 1.415 GB, free: 8.5 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.9944, allocations: 15.92 kB / 1.415 GB, free: 8.484 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.9944, allocations: 4 kB / 1.415 GB, free: 8.48 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.9944, allocations: 87.27 kB / 1.415 GB, free: 8.395 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9944, allocations: 0 / 1.415 GB, free: 8.395 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008539/0.9953, allocations: 299.6 kB / 1.415 GB, free: 8.102 MB / 1.123 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.001853/0.9972, allocations: 1.154 MB / 1.416 GB, free: 6.922 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.9974, allocations: 120 kB / 1.416 GB, free: 6.805 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9974, allocations: 0 / 1.416 GB, free: 6.805 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.9975, allocations: 115.9 kB / 1.417 GB, free: 6.691 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.9979, allocations: 27.36 kB / 1.417 GB, free: 6.668 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.9988, allocations: 437.4 kB / 1.417 GB, free: 6.203 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.9991, allocations: 0.7205 MB / 1.418 GB, free: 5.457 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.9992, allocations: 36.45 kB / 1.418 GB, free: 5.422 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.9993, allocations: 35.42 kB / 1.418 GB, free: 5.387 MB / 1.123 GB Notification: Performance of SimCode: time 3.11e-07/0.9993, allocations: 0 / 1.418 GB, free: 5.387 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03975/1.039, allocations: 11.61 MB / 1.429 GB, free: 9.875 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/9.282, allocations: 10.47 kB / 1.429 GB, free: 9.867 MB / 1.139 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.247840791009367]