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.001504/0.001504, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00161/0.00161, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.953 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.341/3.341, allocations: 0.49 GB / 0.7951 GB, free: 33.49 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.00205/0.00205, allocations: 64.05 kB / 1.154 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3573, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02567/0.383, allocations: 13.21 MB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005269/0.3883, allocations: 2.683 MB / 1.341 GB, free: 1.902 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.3885, allocations: 0 / 1.341 GB, free: 1.902 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.3889, allocations: 55.67 kB / 1.342 GB, free: 1.848 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005997/0.3895, allocations: 91.42 kB / 1.342 GB, free: 1.758 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.3917, allocations: 0.5286 MB / 1.342 GB, free: 1.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005127/0.3923, allocations: 231.9 kB / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.486e-05/0.3923, allocations: 9.75 kB / 1.342 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01561/0.4079, allocations: 3.597 MB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.4083, allocations: 99.58 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.4083, allocations: 8 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005101/0.4134, allocations: 1.113 MB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.4136, allocations: 47.83 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.4138, allocations: 75.67 kB / 1.347 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.4152, allocations: 378.7 kB / 1.348 GB, free: 11.67 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4152, allocations: 0 / 1.348 GB, free: 11.67 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4152, allocations: 0 / 1.348 GB, free: 11.67 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.4152, allocations: 0 / 1.348 GB, free: 11.67 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.001434/0.4166, allocations: 457.4 kB / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 8.339e-05/0.4167, allocations: 8.031 kB / 1.348 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.4169, allocations: 50.73 kB / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.4172, allocations: 28.84 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.4179, allocations: 158.3 kB / 1.348 GB, free: 10.92 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.4179, allocations: 12.7 kB / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.4179, allocations: 16.38 kB / 1.348 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.4186, allocations: 259.9 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4186, allocations: 4 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.4186, allocations: 8 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/0.4187, allocations: 7.984 kB / 1.349 GB, free: 10.6 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008686/0.4195, allocations: 439.5 kB / 1.349 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.4216, allocations: 0.9479 MB / 1.35 GB, free: 9.137 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.422, allocations: 140.8 kB / 1.35 GB, free: 8.992 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.4222, allocations: 62.62 kB / 1.35 GB, free: 8.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/0.4236, allocations: 467.8 kB / 1.35 GB, free: 8.453 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.4236, allocations: 42.5 kB / 1.351 GB, free: 8.402 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/0.4236, allocations: 0 / 1.351 GB, free: 8.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006021/0.4242, allocations: 145.5 kB / 1.351 GB, free: 8.254 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.4243, allocations: 55.39 kB / 1.351 GB, free: 8.188 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.4246, allocations: 175.9 kB / 1.351 GB, free: 8.004 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.4246, allocations: 25.7 kB / 1.351 GB, free: 7.973 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.4248, allocations: 148.1 kB / 1.351 GB, free: 7.824 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.52e-05/0.4249, allocations: 51.59 kB / 1.351 GB, free: 7.773 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.425, allocations: 53.66 kB / 1.351 GB, free: 7.715 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0004065/0.4254, allocations: 318.8 kB / 1.351 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.4256, allocations: 39.97 kB / 1.351 GB, free: 7.355 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.4259, allocations: 149.6 kB / 1.352 GB, free: 7.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.4264, allocations: 191.4 kB / 1.352 GB, free: 6.926 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4264, allocations: 0 / 1.352 GB, free: 6.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006538/0.427, allocations: 231.2 kB / 1.352 GB, free: 6.695 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.4271, allocations: 8 kB / 1.352 GB, free: 6.688 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4271, allocations: 4 kB / 1.352 GB, free: 6.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.4271, allocations: 7.938 kB / 1.352 GB, free: 6.676 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.4274, allocations: 51.92 kB / 1.352 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.4275, allocations: 11.98 kB / 1.352 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.4277, allocations: 27.78 kB / 1.352 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.4277, allocations: 15.94 kB / 1.352 GB, free: 6.57 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.000195/0.4279, allocations: 142.5 kB / 1.352 GB, free: 6.422 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/0.428, allocations: 15.91 kB / 1.352 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/0.4285, allocations: 154.9 kB / 1.352 GB, free: 6.25 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.4285, allocations: 7.938 kB / 1.352 GB, free: 6.242 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.4285, allocations: 3.984 kB / 1.352 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4285, allocations: 0 / 1.352 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.4291, allocations: 184.6 kB / 1.353 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4291, allocations: 0 / 1.353 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.4292, allocations: 23.98 kB / 1.353 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4292, allocations: 4 kB / 1.353 GB, free: 5.988 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.4292, allocations: 8 kB / 1.353 GB, free: 5.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.4293, allocations: 3.938 kB / 1.353 GB, free: 5.977 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4293, allocations: 3.938 kB / 1.353 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.4297, allocations: 222 kB / 1.353 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.4299, allocations: 39.81 kB / 1.353 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.4299, allocations: 3.984 kB / 1.353 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.4303, allocations: 23.92 kB / 1.353 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.4303, allocations: 11.97 kB / 1.353 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.4304, allocations: 12 kB / 1.353 GB, free: 5.652 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002021/0.4306, allocations: 120 kB / 1.353 GB, free: 5.535 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4306, allocations: 0 / 1.353 GB, free: 5.535 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007306/0.4313, allocations: 75.86 kB / 1.353 GB, free: 5.461 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.001311/0.4326, allocations: 0.8371 MB / 1.354 GB, free: 4.594 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.433, allocations: 120.2 kB / 1.354 GB, free: 4.477 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.433, allocations: 0 / 1.354 GB, free: 4.477 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.4331, allocations: 46.53 kB / 1.354 GB, free: 4.434 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/0.434, allocations: 52.28 kB / 1.354 GB, free: 4.383 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.437, allocations: 2.042 MB / 1.356 GB, free: 2.168 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.4376, allocations: 0.7206 MB / 1.357 GB, free: 1.422 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000167/0.4377, allocations: 45.75 kB / 1.357 GB, free: 1.379 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.438, allocations: 47.42 kB / 1.357 GB, free: 1.332 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.438, allocations: 0 / 1.357 GB, free: 1.332 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03892/0.4769, allocations: 5.795 MB / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.72, allocations: 4.875 kB / 1.363 GB, free: 11.7 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.70397100993432]