Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001517/0.001517, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001997/0.001997, allocations: 220.5 kB / 22.25 MB, free: 5.102 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.486/1.486, 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.223/3.223, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.002071/0.002071, allocations: 68.27 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3617, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01698/0.3787, allocations: 11.96 MB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0031/0.3818, allocations: 2.418 MB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.3819, allocations: 0 / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.3822, allocations: 39.7 kB / 1.34 GB, free: 2.984 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.3825, allocations: 103.3 kB / 1.34 GB, free: 2.883 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.3838, allocations: 0.5241 MB / 1.341 GB, free: 2.363 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000291/0.3841, allocations: 231.9 kB / 1.341 GB, free: 2.137 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.3842, allocations: 5.75 kB / 1.341 GB, free: 2.125 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009108/0.3933, allocations: 3.582 MB / 1.344 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.3935, allocations: 91.66 kB / 1.344 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.3936, allocations: 8 kB / 1.344 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.3965, allocations: 1.049 MB / 1.345 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.276e-05/0.3966, allocations: 39.89 kB / 1.345 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.3967, allocations: 71.72 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008471/0.3976, allocations: 362.8 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3976, allocations: 0 / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3976, allocations: 4 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.3976, allocations: 0 / 1.346 GB, free: 12.91 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.0008897/0.3985, allocations: 445.3 kB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3985, allocations: 12.03 kB / 1.346 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.522e-05/0.3986, allocations: 54.67 kB / 1.346 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.3988, allocations: 24.84 kB / 1.346 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.3991, allocations: 162.3 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3991, allocations: 12.7 kB / 1.347 GB, free: 12.15 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.3991, allocations: 12.38 kB / 1.347 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.3997, allocations: 495.3 kB / 1.347 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3997, allocations: 7.922 kB / 1.347 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.3997, allocations: 12 kB / 1.347 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.3998, allocations: 8 kB / 1.347 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/0.4003, allocations: 419.5 kB / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.4017, allocations: 0.8203 MB / 1.348 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.4021, allocations: 145.3 kB / 1.348 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.4022, allocations: 56.83 kB / 1.348 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008413/0.4031, allocations: 463.9 kB / 1.349 GB, free: 9.586 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.4031, allocations: 30.56 kB / 1.349 GB, free: 9.547 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.4031, allocations: 0 / 1.349 GB, free: 9.547 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0003843/0.4035, allocations: 155.7 kB / 1.349 GB, free: 9.391 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4036, allocations: 55.34 kB / 1.349 GB, free: 9.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.4037, allocations: 176.6 kB / 1.349 GB, free: 9.141 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.4038, allocations: 37.67 kB / 1.349 GB, free: 9.098 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4039, allocations: 144.1 kB / 1.349 GB, free: 8.953 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.4039, allocations: 55.53 kB / 1.35 GB, free: 8.898 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/0.404, allocations: 57.59 kB / 1.35 GB, free: 8.836 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4042, allocations: 322.8 kB / 1.35 GB, free: 8.512 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.4043, allocations: 39.97 kB / 1.35 GB, free: 8.473 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.4044, allocations: 137.7 kB / 1.35 GB, free: 8.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.4047, allocations: 197.5 kB / 1.35 GB, free: 8.047 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4047, allocations: 4 kB / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00036/0.4051, allocations: 215.1 kB / 1.35 GB, free: 7.828 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4051, allocations: 8 kB / 1.35 GB, free: 7.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4051, allocations: 4 kB / 1.35 GB, free: 7.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.4051, allocations: 7.938 kB / 1.35 GB, free: 7.809 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.4054, allocations: 59.91 kB / 1.351 GB, free: 7.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.4054, allocations: 8.406 kB / 1.351 GB, free: 7.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.4055, allocations: 31.78 kB / 1.351 GB, free: 7.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.4055, allocations: 16 kB / 1.351 GB, free: 7.695 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.000142/0.4057, allocations: 138.2 kB / 1.351 GB, free: 7.551 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.4057, allocations: 15.91 kB / 1.351 GB, free: 7.535 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.4061, allocations: 158.9 kB / 1.351 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.4061, allocations: 3.938 kB / 1.351 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4061, allocations: 0 / 1.351 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4061, allocations: 0 / 1.351 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.4063, allocations: 184.6 kB / 1.351 GB, free: 7.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4063, allocations: 0 / 1.351 GB, free: 7.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.4065, allocations: 39.92 kB / 1.351 GB, free: 7.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4065, allocations: 0 / 1.351 GB, free: 7.109 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4065, allocations: 0 / 1.351 GB, free: 7.109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.4065, allocations: 7.938 kB / 1.351 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4065, allocations: 4 kB / 1.351 GB, free: 7.098 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.4068, allocations: 226 kB / 1.351 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.4069, allocations: 35.91 kB / 1.351 GB, free: 6.828 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.4069, allocations: 3.938 kB / 1.351 GB, free: 6.824 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.4071, allocations: 19.92 kB / 1.351 GB, free: 6.805 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.4071, allocations: 11.97 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.4071, allocations: 16 kB / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001001/0.4072, allocations: 116 kB / 1.352 GB, free: 6.664 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4072, allocations: 0 / 1.352 GB, free: 6.664 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004113/0.4077, allocations: 83.81 kB / 1.352 GB, free: 6.582 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.0008753/0.4085, allocations: 0.8293 MB / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.4088, allocations: 111.8 kB / 1.353 GB, free: 5.613 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4088, allocations: 0 / 1.353 GB, free: 5.613 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/0.4089, allocations: 50 kB / 1.353 GB, free: 5.566 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.4093, allocations: 58.5 kB / 1.353 GB, free: 5.512 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.4119, allocations: 2.042 MB / 1.355 GB, free: 3.297 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.4121, allocations: 106.8 kB / 1.355 GB, free: 3.176 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.4122, allocations: 49.73 kB / 1.355 GB, free: 3.125 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.074e-05/0.4123, allocations: 47.42 kB / 1.355 GB, free: 3.078 MB / 1.045 GB Notification: Performance of SimCode: time 7.51e-07/0.4123, allocations: 0 / 1.355 GB, free: 3.078 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03784/0.4502, allocations: 6.41 MB / 1.361 GB, free: 12.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.79, allocations: 8.828 kB / 1.361 GB, free: 12.87 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.64723178499844]