Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001488/0.001488, 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.001682/0.001682, allocations: 213 kB / 22.24 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.801 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.001/3.001, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_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.001888/0.001888, allocations: 69.23 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3025, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01702/0.3195, allocations: 11.96 MB / 1.375 GB, free: 2.043 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.3225, allocations: 2.422 MB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.3226, allocations: 0 / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.3228, allocations: 43.69 kB / 1.378 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.3231, allocations: 99.36 kB / 1.378 GB, free: 15.47 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.3244, allocations: 0.5259 MB / 1.378 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.3247, allocations: 235.9 kB / 1.378 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.3248, allocations: 5.75 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008/0.3328, allocations: 3.576 MB / 1.382 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.333, allocations: 91.64 kB / 1.382 GB, free: 11.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.333, allocations: 8 kB / 1.382 GB, free: 11.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.3355, allocations: 1.029 MB / 1.383 GB, free: 9.992 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.3355, allocations: 43.83 kB / 1.383 GB, free: 9.949 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.328e-05/0.3356, allocations: 71.72 kB / 1.383 GB, free: 9.879 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008044/0.3364, allocations: 362.8 kB / 1.383 GB, free: 9.523 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3364, allocations: 3.938 kB / 1.383 GB, free: 9.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3364, allocations: 0 / 1.383 GB, free: 9.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.3364, allocations: 0 / 1.383 GB, free: 9.52 MB / 1.076 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.0008831/0.3373, allocations: 449.4 kB / 1.384 GB, free: 9.051 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3374, allocations: 12.03 kB / 1.384 GB, free: 9.039 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.145e-05/0.3374, allocations: 54.67 kB / 1.384 GB, free: 8.977 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.3376, allocations: 24.84 kB / 1.384 GB, free: 8.953 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.338, allocations: 158.3 kB / 1.384 GB, free: 8.773 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.338, allocations: 12.7 kB / 1.384 GB, free: 8.762 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.338, allocations: 12.38 kB / 1.384 GB, free: 8.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.3386, allocations: 491.3 kB / 1.385 GB, free: 8.195 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3386, allocations: 3.984 kB / 1.385 GB, free: 8.191 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.3386, allocations: 19.94 kB / 1.385 GB, free: 8.172 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.3387, allocations: 8 kB / 1.385 GB, free: 8.164 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.3392, allocations: 415.5 kB / 1.385 GB, free: 7.758 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3403, allocations: 0.8203 MB / 1.386 GB, free: 6.879 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.3407, allocations: 148.4 kB / 1.386 GB, free: 6.727 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.728e-05/0.3408, allocations: 52.89 kB / 1.386 GB, free: 6.672 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007971/0.3416, allocations: 471.8 kB / 1.386 GB, free: 6.191 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3416, allocations: 30.56 kB / 1.386 GB, free: 6.152 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.3416, allocations: 0 / 1.386 GB, free: 6.152 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0003454/0.3419, allocations: 152.4 kB / 1.387 GB, free: 6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.342, allocations: 51.41 kB / 1.387 GB, free: 5.938 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3422, allocations: 179.1 kB / 1.387 GB, free: 5.75 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.3422, allocations: 33.7 kB / 1.387 GB, free: 5.711 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.3423, allocations: 140.1 kB / 1.387 GB, free: 5.566 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.3424, allocations: 63.41 kB / 1.387 GB, free: 5.504 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.3424, allocations: 53.7 kB / 1.387 GB, free: 5.445 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3426, allocations: 330.8 kB / 1.387 GB, free: 5.113 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.3426, allocations: 35.98 kB / 1.387 GB, free: 5.078 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.3428, allocations: 138.2 kB / 1.388 GB, free: 4.895 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.343, allocations: 201.5 kB / 1.388 GB, free: 4.648 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3431, allocations: 0 / 1.388 GB, free: 4.648 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003707/0.3434, allocations: 215.5 kB / 1.388 GB, free: 4.434 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3434, allocations: 8 kB / 1.388 GB, free: 4.426 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3434, allocations: 4 kB / 1.388 GB, free: 4.422 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3435, allocations: 7.938 kB / 1.388 GB, free: 4.414 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3436, allocations: 59.91 kB / 1.388 GB, free: 4.355 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.3437, allocations: 11.88 kB / 1.388 GB, free: 4.344 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3438, allocations: 27.78 kB / 1.388 GB, free: 4.316 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.3438, allocations: 16.34 kB / 1.388 GB, free: 4.301 MB / 1.076 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.0001403/0.3439, allocations: 137.7 kB / 1.388 GB, free: 4.156 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.344, allocations: 15.91 kB / 1.388 GB, free: 4.141 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.3443, allocations: 158.9 kB / 1.388 GB, free: 3.977 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3443, allocations: 3.938 kB / 1.388 GB, free: 3.973 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3443, allocations: 4 kB / 1.388 GB, free: 3.969 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3443, allocations: 3.984 kB / 1.388 GB, free: 3.965 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.3445, allocations: 176.7 kB / 1.389 GB, free: 3.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3445, allocations: 0 / 1.389 GB, free: 3.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3447, allocations: 35.92 kB / 1.389 GB, free: 3.715 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3447, allocations: 4 kB / 1.389 GB, free: 3.711 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3447, allocations: 0 / 1.389 GB, free: 3.711 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3447, allocations: 3.938 kB / 1.389 GB, free: 3.707 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3447, allocations: 4 kB / 1.389 GB, free: 3.703 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.3449, allocations: 222 kB / 1.389 GB, free: 3.473 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.345, allocations: 39.86 kB / 1.389 GB, free: 3.434 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.345, allocations: 3.984 kB / 1.389 GB, free: 3.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.3452, allocations: 15.94 kB / 1.389 GB, free: 3.414 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.3453, allocations: 11.97 kB / 1.389 GB, free: 3.402 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.3453, allocations: 12 kB / 1.389 GB, free: 3.391 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.186e-05/0.3454, allocations: 120.8 kB / 1.389 GB, free: 3.273 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.3454, allocations: 0 / 1.389 GB, free: 3.273 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003688/0.3457, allocations: 83.86 kB / 1.389 GB, free: 3.191 MB / 1.076 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.0007707/0.3465, allocations: 0.8448 MB / 1.39 GB, free: 2.316 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3467, allocations: 111.8 kB / 1.39 GB, free: 2.207 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3467, allocations: 0 / 1.39 GB, free: 2.207 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.244e-05/0.3468, allocations: 38.31 kB / 1.39 GB, free: 2.172 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3472, allocations: 62.48 kB / 1.39 GB, free: 2.113 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.3495, allocations: 2.042 MB / 1.392 GB, free: 15.9 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3496, allocations: 110.8 kB / 1.392 GB, free: 15.78 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000161/0.3498, allocations: 49.73 kB / 1.392 GB, free: 15.73 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.3499, allocations: 47.42 kB / 1.392 GB, free: 15.68 MB / 1.092 GB Notification: Performance of SimCode: time 4.01e-07/0.3499, allocations: 0 / 1.392 GB, free: 15.68 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.3827, allocations: 6.326 MB / 1.399 GB, free: 9.559 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.66, allocations: 5.625 kB / 1.399 GB, free: 9.555 MB / 1.092 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.75665991520509]