Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.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.001763/0.001763, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00242/0.00242, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.286/3.286, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 176] 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.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="cs",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.001984/0.001984, allocations: 70.38 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3507, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006625/0.3574, allocations: 4.845 MB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003209/0.3606, allocations: 2.741 MB / 1.353 GB, free: 8.801 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.3607, allocations: 0 / 1.353 GB, free: 8.801 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.361, allocations: 47.67 kB / 1.353 GB, free: 8.754 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.3613, allocations: 99.38 kB / 1.353 GB, free: 8.656 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.3627, allocations: 0.5158 MB / 1.353 GB, free: 8.141 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.363, allocations: 231.9 kB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.363, allocations: 9.75 kB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.3632, allocations: 119.5 kB / 1.354 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.3634, allocations: 99.58 kB / 1.354 GB, free: 7.688 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.3635, allocations: 8 kB / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008211/0.3643, allocations: 387.3 kB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.629e-05/0.3644, allocations: 39.83 kB / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3645, allocations: 87.64 kB / 1.354 GB, free: 7.176 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000641/0.3651, allocations: 363.1 kB / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3651, allocations: 0 / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3651, allocations: 0 / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.3651, allocations: 0 / 1.355 GB, free: 6.82 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008492/0.366, allocations: 457.3 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.366, allocations: 12.03 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.89e-05/0.366, allocations: 4.516 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.969e-05/0.3661, allocations: 58.66 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.3663, allocations: 24.84 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3666, allocations: 150.3 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3666, allocations: 16.7 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.3666, allocations: 16.12 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.3671, allocations: 252.2 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3671, allocations: 7.922 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.3671, allocations: 8 kB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.3671, allocations: 4 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.3678, allocations: 443.5 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.3692, allocations: 0.9285 MB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.3695, allocations: 153.7 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3696, allocations: 56.89 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008051/0.3704, allocations: 467.8 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.3704, allocations: 38.56 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.654e-06/0.3704, allocations: 0 / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0003816/0.3708, allocations: 141.5 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.3709, allocations: 59.41 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.3711, allocations: 176.3 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.3711, allocations: 37.64 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3712, allocations: 144.1 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.3713, allocations: 51.55 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.3714, allocations: 49.7 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3715, allocations: 330.8 kB / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.3716, allocations: 31.98 kB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.3718, allocations: 137.7 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.3721, allocations: 203.8 kB / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.3721, allocations: 0 / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003631/0.3724, allocations: 217.2 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.3725, allocations: 8 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3725, allocations: 0 / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.3725, allocations: 12.41 kB / 1.359 GB, free: 1.836 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.3727, allocations: 55.92 kB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.3727, allocations: 7.938 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3728, allocations: 27.78 kB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.3729, allocations: 15.98 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001497/0.373, allocations: 137.7 kB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.3731, allocations: 15.91 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.3734, allocations: 165.5 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.3735, allocations: 0 / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3735, allocations: 4 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.3735, allocations: 11.98 kB / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.3738, allocations: 180.7 kB / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3738, allocations: 0 / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.373e-05/0.3739, allocations: 27.92 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3739, allocations: 0 / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.3739, allocations: 7.938 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3739, allocations: 4 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3739, allocations: 0 / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.3742, allocations: 227.3 kB / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.3742, allocations: 35.81 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3743, allocations: 7.922 kB / 1.36 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.3745, allocations: 15.98 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.3745, allocations: 11.92 kB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.3745, allocations: 11.98 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.356e-05/0.3746, allocations: 120 kB / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3746, allocations: 0 / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004373/0.3751, allocations: 79.86 kB / 1.36 GB, free: 0.6172 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0008057/0.3759, allocations: 0.8331 MB / 1.361 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.3761, allocations: 117.3 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3761, allocations: 0 / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.049e-05/0.3762, allocations: 39.92 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.3767, allocations: 58.2 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.3794, allocations: 2.062 MB / 1.363 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.3798, allocations: 0.7128 MB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.3799, allocations: 53.72 kB / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.38, allocations: 43.42 kB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of SimCode: time 1.232e-06/0.38, allocations: 4 kB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.4079, allocations: 5.58 MB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.95, allocations: 7.578 kB / 1.37 GB, free: 7.066 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.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: 18.979147445992567]