Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001349/0.001349, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001462/0.001462, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.8 MB / 0.7715 GB, free: 3.922 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.002018/0.002018, allocations: 63.48 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3216, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01839/0.34, allocations: 11.94 MB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003069/0.343, allocations: 2.414 MB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-05/0.3431, allocations: 0 / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.3434, allocations: 43.69 kB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.3438, allocations: 103.3 kB / 1.298 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.3452, allocations: 0.5354 MB / 1.299 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.3456, allocations: 224 kB / 1.299 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.3456, allocations: 17.72 kB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009598/0.3552, allocations: 3.574 MB / 1.303 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.3555, allocations: 95.59 kB / 1.303 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.3555, allocations: 8 kB / 1.303 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.3583, allocations: 1.038 MB / 1.304 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.3584, allocations: 39.89 kB / 1.304 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.3586, allocations: 75.7 kB / 1.304 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.3596, allocations: 358.8 kB / 1.304 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3596, allocations: 4 kB / 1.304 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3596, allocations: 0 / 1.304 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.3596, allocations: 0 / 1.304 GB, free: 6.094 MB / 0.9981 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.0008905/0.3605, allocations: 445.4 kB / 1.305 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3606, allocations: 16.03 kB / 1.305 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.869e-05/0.3606, allocations: 4.516 kB / 1.305 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.328e-05/0.3607, allocations: 50.73 kB / 1.305 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.3609, allocations: 28.83 kB / 1.305 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.3612, allocations: 154.3 kB / 1.305 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.3612, allocations: 12.7 kB / 1.305 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.3613, allocations: 16.12 kB / 1.305 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.3619, allocations: 487.3 kB / 1.305 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3619, allocations: 0 / 1.305 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.3619, allocations: 8 kB / 1.305 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.3619, allocations: 23.97 kB / 1.305 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005539/0.3625, allocations: 439.5 kB / 1.306 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.3638, allocations: 0.8241 MB / 1.307 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.3641, allocations: 151.1 kB / 1.307 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3642, allocations: 52.88 kB / 1.307 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008535/0.3651, allocations: 479.8 kB / 1.307 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.3651, allocations: 38.5 kB / 1.307 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.3651, allocations: 0 / 1.307 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0004009/0.3655, allocations: 148.2 kB / 1.307 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3656, allocations: 59.41 kB / 1.307 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.3657, allocations: 163.2 kB / 1.308 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.3658, allocations: 33.7 kB / 1.308 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3659, allocations: 152 kB / 1.308 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.3659, allocations: 43.59 kB / 1.308 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.366, allocations: 61.64 kB / 1.308 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3661, allocations: 326.8 kB / 1.308 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.3662, allocations: 43.97 kB / 1.308 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.3664, allocations: 143.3 kB / 1.308 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.3666, allocations: 193.5 kB / 1.309 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3667, allocations: 0 / 1.309 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003764/0.367, allocations: 224.5 kB / 1.309 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3671, allocations: 4 kB / 1.309 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.3671, allocations: 7.984 kB / 1.309 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.3671, allocations: 7.938 kB / 1.309 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.3673, allocations: 59.91 kB / 1.309 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3673, allocations: 4 kB / 1.309 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.3674, allocations: 27.78 kB / 1.309 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.3675, allocations: 16 kB / 1.309 GB, free: 0.8398 MB / 0.9981 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.0001252/0.3676, allocations: 137.9 kB / 1.309 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.3676, allocations: 19.84 kB / 1.309 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.368, allocations: 158.8 kB / 1.309 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.368, allocations: 0 / 1.309 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.368, allocations: 0 / 1.309 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.368, allocations: 0 / 1.309 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.3683, allocations: 184.7 kB / 1.309 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3683, allocations: 0 / 1.309 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.3684, allocations: 31.98 kB / 1.309 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3684, allocations: 3.938 kB / 1.309 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3684, allocations: 7.938 kB / 1.309 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3684, allocations: 0 / 1.309 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3684, allocations: 4 kB / 1.309 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.3687, allocations: 215.4 kB / 1.31 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/0.3688, allocations: 39.95 kB / 1.31 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.3688, allocations: 7.938 kB / 1.31 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.369, allocations: 11.98 kB / 1.31 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.369, allocations: 11.98 kB / 1.31 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.3691, allocations: 15.98 kB / 1.31 GB, free: 15.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000109/0.3692, allocations: 112 kB / 1.31 GB, free: 15.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3692, allocations: 11.94 kB / 1.31 GB, free: 15.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004205/0.3696, allocations: 75.88 kB / 1.31 GB, free: 15.73 MB / 1.014 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.0008863/0.3705, allocations: 0.8439 MB / 1.311 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.3708, allocations: 115.7 kB / 1.311 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3708, allocations: 0 / 1.311 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.3708, allocations: 43.92 kB / 1.311 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.3713, allocations: 56.89 kB / 1.311 GB, free: 14.65 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.3737, allocations: 2.038 MB / 1.313 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.3739, allocations: 106.5 kB / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001853/0.3741, allocations: 57.66 kB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.84e-05/0.3741, allocations: 47.42 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.3741, allocations: 0 / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.402, allocations: 6.026 MB / 1.319 GB, free: 6.426 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.34, allocations: 10.34 kB / 1.319 GB, free: 6.418 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.2896726380568]