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.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.001477/0.001477, 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.001687/0.001687, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.043/3.043, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.001881/0.001881, allocations: 75.27 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.307, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1406/0.4475, allocations: 119.1 MB / 1.48 GB, free: 6.477 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008966/0.4565, allocations: 7.243 MB / 1.487 GB, free: 15.21 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.4565, allocations: 0 / 1.487 GB, free: 15.21 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.4567, allocations: 23.83 kB / 1.487 GB, free: 15.18 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.4568, allocations: 23.84 kB / 1.487 GB, free: 15.16 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.4602, allocations: 1.455 MB / 1.488 GB, free: 13.7 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.4604, allocations: 75.62 kB / 1.488 GB, free: 13.63 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.4604, allocations: 8 kB / 1.488 GB, free: 13.62 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.4605, allocations: 43.84 kB / 1.488 GB, free: 13.58 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 8.196e-05/0.4606, allocations: 31.84 kB / 1.488 GB, free: 13.55 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.4606, allocations: 4 kB / 1.488 GB, free: 13.54 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.4648, allocations: 2.616 MB / 1.491 GB, free: 10.93 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.4649, allocations: 7.984 kB / 1.491 GB, free: 10.92 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.4649, allocations: 31.86 kB / 1.491 GB, free: 10.89 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.4666, allocations: 1.388 MB / 1.492 GB, free: 9.496 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4666, allocations: 0 / 1.492 GB, free: 9.496 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4666, allocations: 0 / 1.492 GB, free: 9.496 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4667, allocations: 0 / 1.492 GB, free: 9.496 MB / 1.186 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.000837/0.4675, allocations: 433.2 kB / 1.493 GB, free: 9.043 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4675, allocations: 8.031 kB / 1.493 GB, free: 9.035 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.4676, allocations: 38.75 kB / 1.493 GB, free: 8.988 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.4679, allocations: 28.86 kB / 1.493 GB, free: 8.961 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.468, allocations: 114.4 kB / 1.493 GB, free: 8.824 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.4681, allocations: 63.72 kB / 1.493 GB, free: 8.75 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.4681, allocations: 8 kB / 1.493 GB, free: 8.742 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.4685, allocations: 147.2 kB / 1.493 GB, free: 8.586 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.4685, allocations: 3.938 kB / 1.493 GB, free: 8.582 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.4685, allocations: 4 kB / 1.493 GB, free: 8.578 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.4685, allocations: 4 kB / 1.493 GB, free: 8.574 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.4688, allocations: 111.9 kB / 1.493 GB, free: 8.465 MB / 1.186 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.0004796/0.4693, allocations: 307.7 kB / 1.494 GB, free: 8.121 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.4696, allocations: 114.6 kB / 1.494 GB, free: 8 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.4696, allocations: 48.84 kB / 1.494 GB, free: 7.949 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.4805, allocations: 3.036 MB / 1.497 GB, free: 4.91 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.4806, allocations: 34.56 kB / 1.497 GB, free: 4.867 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 3.787e-06/0.4806, allocations: 3.984 kB / 1.497 GB, free: 4.863 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0005265/0.4811, allocations: 165.6 kB / 1.497 GB, free: 4.695 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.4812, allocations: 51.41 kB / 1.497 GB, free: 4.633 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.4812, allocations: 105.8 kB / 1.497 GB, free: 4.52 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.4813, allocations: 29.7 kB / 1.497 GB, free: 4.484 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.4813, allocations: 84.09 kB / 1.497 GB, free: 4.398 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.4814, allocations: 55.56 kB / 1.497 GB, free: 4.344 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.4814, allocations: 29.7 kB / 1.497 GB, free: 4.309 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4816, allocations: 314.8 kB / 1.498 GB, free: 3.992 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.4816, allocations: 27.98 kB / 1.498 GB, free: 3.965 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.4817, allocations: 27.48 kB / 1.498 GB, free: 3.941 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.4818, allocations: 68.84 kB / 1.498 GB, free: 3.871 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4818, allocations: 0 / 1.498 GB, free: 3.871 MB / 1.186 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001781/0.4819, allocations: 109.6 kB / 1.498 GB, free: 3.758 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.482, allocations: 4 kB / 1.498 GB, free: 3.754 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.482, allocations: 0 / 1.498 GB, free: 3.754 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.482, allocations: 0 / 1.498 GB, free: 3.754 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4821, allocations: 27.98 kB / 1.498 GB, free: 3.727 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.4821, allocations: 3.938 kB / 1.498 GB, free: 3.723 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.4822, allocations: 11.89 kB / 1.498 GB, free: 3.711 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.4822, allocations: 4 kB / 1.498 GB, free: 3.707 MB / 1.186 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 8.742e-05/0.4823, allocations: 117.8 kB / 1.498 GB, free: 3.582 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.4823, allocations: 7.953 kB / 1.498 GB, free: 3.574 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.4828, allocations: 372.2 kB / 1.498 GB, free: 3.203 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4828, allocations: 7.984 kB / 1.498 GB, free: 3.195 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4828, allocations: 0 / 1.498 GB, free: 3.195 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4828, allocations: 7.938 kB / 1.498 GB, free: 3.188 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.4831, allocations: 256.5 kB / 1.499 GB, free: 2.895 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4831, allocations: 3.938 kB / 1.499 GB, free: 2.891 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.93e-05/0.4832, allocations: 31.92 kB / 1.499 GB, free: 2.859 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4832, allocations: 0 / 1.499 GB, free: 2.859 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.4832, allocations: 0 / 1.499 GB, free: 2.859 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4832, allocations: 0 / 1.499 GB, free: 2.859 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4832, allocations: 0 / 1.499 GB, free: 2.859 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.4836, allocations: 346.9 kB / 1.499 GB, free: 2.504 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.4837, allocations: 23.83 kB / 1.499 GB, free: 2.48 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.4837, allocations: 4 kB / 1.499 GB, free: 2.477 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.4838, allocations: 11.98 kB / 1.499 GB, free: 2.465 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.4838, allocations: 15.92 kB / 1.499 GB, free: 2.449 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4838, allocations: 4 kB / 1.499 GB, free: 2.445 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.4839, allocations: 83.27 kB / 1.499 GB, free: 2.363 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.4839, allocations: 3.938 kB / 1.499 GB, free: 2.359 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008035/0.4847, allocations: 307.6 kB / 1.499 GB, free: 2.059 MB / 1.186 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.001684/0.4864, allocations: 1.157 MB / 1.5 GB, free: 0.875 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.4866, allocations: 123.9 kB / 1.501 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4866, allocations: 0 / 1.501 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4867, allocations: 99.83 kB / 1.501 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.487, allocations: 15.94 kB / 1.501 GB, free: 0.6406 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.4878, allocations: 438.1 kB / 1.501 GB, free: 172 kB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.674e-05/0.4879, allocations: 102.3 kB / 1.501 GB, free: 48 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.488, allocations: 28.41 kB / 1.501 GB, free: 20 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.12e-05/0.4881, allocations: 39.5 kB / 1.501 GB, free: 15.98 MB / 1.201 GB Notification: Performance of SimCode: time 2.81e-07/0.4881, allocations: 0 / 1.501 GB, free: 15.98 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.5299, allocations: 12.27 MB / 1.513 GB, free: 3.855 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.85, allocations: 12.42 kB / 1.513 GB, free: 3.844 MB / 1.201 GB " [Timeout remaining time 289] (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/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: 17.044204601086676]