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.001867/0.001867, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00249/0.00249, allocations: 214 kB / 22.25 MB, free: 5.258 MB / 14.72 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.243/3.243, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 68.88 kB / 1.153 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3633, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1736/0.5369, allocations: 119.1 MB / 1.441 GB, free: 10.79 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.5471, allocations: 7.232 MB / 1.448 GB, free: 3.531 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.005e-05/0.5472, allocations: 3.938 kB / 1.448 GB, free: 3.527 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.5474, allocations: 19.91 kB / 1.448 GB, free: 3.508 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.487e-05/0.5475, allocations: 15.86 kB / 1.448 GB, free: 3.492 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004517/0.552, allocations: 1.458 MB / 1.45 GB, free: 2.035 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.5521, allocations: 83.64 kB / 1.45 GB, free: 1.953 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.5522, allocations: 0 / 1.45 GB, free: 1.953 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.5523, allocations: 47.84 kB / 1.45 GB, free: 1.906 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.928e-05/0.5524, allocations: 31.89 kB / 1.45 GB, free: 1.875 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.5524, allocations: 4 kB / 1.45 GB, free: 1.871 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004823/0.5573, allocations: 2.614 MB / 1.453 GB, free: 15.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.5573, allocations: 15.92 kB / 1.453 GB, free: 15.24 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.5574, allocations: 23.92 kB / 1.453 GB, free: 15.21 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.5597, allocations: 1.392 MB / 1.454 GB, free: 13.82 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5597, allocations: 4 kB / 1.454 GB, free: 13.82 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5597, allocations: 0 / 1.454 GB, free: 13.82 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.5597, allocations: 0 / 1.454 GB, free: 13.82 MB / 1.154 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.0012/0.5609, allocations: 437.2 kB / 1.454 GB, free: 13.36 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5609, allocations: 8.031 kB / 1.454 GB, free: 13.35 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.561, allocations: 38.75 kB / 1.454 GB, free: 13.3 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.5614, allocations: 24.88 kB / 1.455 GB, free: 13.28 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.5615, allocations: 118.4 kB / 1.455 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.5616, allocations: 63.72 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.5616, allocations: 8 kB / 1.455 GB, free: 13.06 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.562, allocations: 143.3 kB / 1.455 GB, free: 12.91 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.562, allocations: 0 / 1.455 GB, free: 12.91 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.562, allocations: 12 kB / 1.455 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5621, allocations: 0 / 1.455 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.5624, allocations: 119.8 kB / 1.455 GB, free: 12.78 MB / 1.154 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.0005502/0.563, allocations: 299.7 kB / 1.455 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.5632, allocations: 110.6 kB / 1.455 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.5633, allocations: 48.84 kB / 1.455 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/0.5759, allocations: 3.044 MB / 1.458 GB, free: 9.227 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.5759, allocations: 34.56 kB / 1.458 GB, free: 9.184 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.5759, allocations: 4 kB / 1.458 GB, free: 9.18 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0006834/0.5766, allocations: 168.8 kB / 1.459 GB, free: 9.012 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.5767, allocations: 55.41 kB / 1.459 GB, free: 8.945 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5768, allocations: 105.8 kB / 1.459 GB, free: 8.832 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.5768, allocations: 25.7 kB / 1.459 GB, free: 8.801 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.5768, allocations: 84.14 kB / 1.459 GB, free: 8.715 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.5769, allocations: 47.58 kB / 1.459 GB, free: 8.668 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.577, allocations: 25.72 kB / 1.459 GB, free: 8.637 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5771, allocations: 314.8 kB / 1.459 GB, free: 8.32 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.5772, allocations: 27.98 kB / 1.459 GB, free: 8.293 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.985e-05/0.5772, allocations: 23.98 kB / 1.459 GB, free: 8.27 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.5774, allocations: 72.8 kB / 1.459 GB, free: 8.195 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.5774, allocations: 3.984 kB / 1.459 GB, free: 8.191 MB / 1.154 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002141/0.5776, allocations: 106.1 kB / 1.459 GB, free: 8.082 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5776, allocations: 7.984 kB / 1.459 GB, free: 8.074 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5776, allocations: 0 / 1.459 GB, free: 8.074 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.5776, allocations: 4 kB / 1.459 GB, free: 8.07 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.5778, allocations: 23.98 kB / 1.459 GB, free: 8.047 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5778, allocations: 0 / 1.459 GB, free: 8.047 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.5778, allocations: 11.89 kB / 1.459 GB, free: 8.035 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.5778, allocations: 3.938 kB / 1.459 GB, free: 8.031 MB / 1.154 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.0001086/0.5779, allocations: 118.4 kB / 1.46 GB, free: 7.906 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.578, allocations: 4 kB / 1.46 GB, free: 7.902 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005298/0.5785, allocations: 388.1 kB / 1.46 GB, free: 7.516 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.5785, allocations: 3.984 kB / 1.46 GB, free: 7.512 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5785, allocations: 0 / 1.46 GB, free: 7.512 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.5785, allocations: 7.938 kB / 1.46 GB, free: 7.504 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.5789, allocations: 252.5 kB / 1.46 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5789, allocations: 0 / 1.46 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.579, allocations: 23.92 kB / 1.46 GB, free: 7.191 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.579, allocations: 192 / 1.46 GB, free: 7.191 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.579, allocations: 4 kB / 1.46 GB, free: 7.188 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.579, allocations: 4 kB / 1.46 GB, free: 7.184 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.579, allocations: 7.938 kB / 1.46 GB, free: 7.176 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.5794, allocations: 346.9 kB / 1.461 GB, free: 6.82 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.5795, allocations: 31.81 kB / 1.461 GB, free: 6.789 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.5795, allocations: 0 / 1.461 GB, free: 6.789 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.5796, allocations: 11.98 kB / 1.461 GB, free: 6.777 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.5797, allocations: 15.86 kB / 1.461 GB, free: 6.762 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.5797, allocations: 4 kB / 1.461 GB, free: 6.758 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.5797, allocations: 87.27 kB / 1.461 GB, free: 6.672 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5797, allocations: 0 / 1.461 GB, free: 6.672 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001091/0.5808, allocations: 307.6 kB / 1.461 GB, free: 6.371 MB / 1.154 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.002078/0.5829, allocations: 1.157 MB / 1.462 GB, free: 5.188 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.5832, allocations: 123.7 kB / 1.462 GB, free: 5.07 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5832, allocations: 0 / 1.462 GB, free: 5.07 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.5833, allocations: 95.83 kB / 1.462 GB, free: 4.977 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.5837, allocations: 21.81 kB / 1.462 GB, free: 4.957 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.5846, allocations: 434 kB / 1.463 GB, free: 4.488 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.5848, allocations: 106.3 kB / 1.463 GB, free: 4.367 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.5849, allocations: 32.28 kB / 1.463 GB, free: 4.336 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.5849, allocations: 35.42 kB / 1.463 GB, free: 4.301 MB / 1.154 GB Notification: Performance of SimCode: time 1.002e-06/0.5849, allocations: 4 kB / 1.463 GB, free: 4.297 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04959/0.6345, allocations: 12.27 MB / 1.475 GB, free: 8.172 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.25, allocations: 18.67 kB / 1.475 GB, free: 8.16 MB / 1.17 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/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: 19.160658347886056]