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.001664/0.001664, allocations: 113 kB / 19.73 MB, free: 2.227 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.00301/0.00301, allocations: 211.3 kB / 23.04 MB, free: 5.066 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.229/3.229, allocations: 0.49 GB / 0.7959 GB, free: 33.4 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_12_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.002036/0.002036, allocations: 60.86 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 176.1 MB / 1.327 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01894/0.3769, allocations: 13.2 MB / 1.34 GB, free: 4.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003262/0.3801, allocations: 2.687 MB / 1.342 GB, free: 1.965 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3802, allocations: 3.938 kB / 1.342 GB, free: 1.961 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.3805, allocations: 39.75 kB / 1.342 GB, free: 1.922 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.3809, allocations: 111.3 kB / 1.342 GB, free: 1.812 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.3822, allocations: 0.5271 MB / 1.343 GB, free: 1.289 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.3825, allocations: 231.9 kB / 1.343 GB, free: 1.062 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.3825, allocations: 5.75 kB / 1.343 GB, free: 1.051 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008469/0.391, allocations: 3.604 MB / 1.347 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.3913, allocations: 95.64 kB / 1.347 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.3913, allocations: 11.94 kB / 1.347 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.394, allocations: 1.106 MB / 1.348 GB, free: 12.22 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.3941, allocations: 39.83 kB / 1.348 GB, free: 12.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3942, allocations: 83.64 kB / 1.348 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008033/0.395, allocations: 382.7 kB / 1.348 GB, free: 11.72 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.395, allocations: 0 / 1.348 GB, free: 11.72 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.395, allocations: 4 kB / 1.348 GB, free: 11.72 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.313e-05/0.395, allocations: 0 / 1.348 GB, free: 11.72 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.000778/0.3958, allocations: 441.4 kB / 1.349 GB, free: 11.26 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3959, allocations: 12.03 kB / 1.349 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.742e-05/0.3959, allocations: 4.516 kB / 1.349 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.3959, allocations: 54.67 kB / 1.349 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.3961, allocations: 28.83 kB / 1.349 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3964, allocations: 158.3 kB / 1.349 GB, free: 10.97 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3964, allocations: 16.69 kB / 1.349 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.3964, allocations: 16.12 kB / 1.349 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.3968, allocations: 256 kB / 1.349 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3968, allocations: 4 kB / 1.349 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.3969, allocations: 8 kB / 1.349 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.3969, allocations: 7.984 kB / 1.349 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000619/0.3975, allocations: 439.5 kB / 1.35 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.3987, allocations: 0.944 MB / 1.351 GB, free: 9.195 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.399, allocations: 144 kB / 1.351 GB, free: 9.047 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3991, allocations: 56.88 kB / 1.351 GB, free: 8.988 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007657/0.3999, allocations: 471.8 kB / 1.351 GB, free: 8.508 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.3999, allocations: 38.56 kB / 1.351 GB, free: 8.461 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.3999, allocations: 0 / 1.351 GB, free: 8.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0003589/0.4003, allocations: 151.3 kB / 1.351 GB, free: 8.309 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.4003, allocations: 55.41 kB / 1.351 GB, free: 8.242 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.4005, allocations: 175.2 kB / 1.352 GB, free: 8.059 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.4005, allocations: 29.7 kB / 1.352 GB, free: 8.023 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4006, allocations: 140.1 kB / 1.352 GB, free: 7.883 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.4007, allocations: 55.58 kB / 1.352 GB, free: 7.828 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.05e-05/0.4008, allocations: 53.66 kB / 1.352 GB, free: 7.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4009, allocations: 326.8 kB / 1.352 GB, free: 7.441 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.401, allocations: 31.98 kB / 1.352 GB, free: 7.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.4012, allocations: 149.6 kB / 1.352 GB, free: 7.215 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.4014, allocations: 197.5 kB / 1.353 GB, free: 6.973 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4014, allocations: 0 / 1.353 GB, free: 6.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003479/0.4018, allocations: 220 kB / 1.353 GB, free: 6.754 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4018, allocations: 6.031 kB / 1.353 GB, free: 6.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.4018, allocations: 11.94 kB / 1.353 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4018, allocations: 11.94 kB / 1.353 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.402, allocations: 55.91 kB / 1.353 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.402, allocations: 4 kB / 1.353 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4021, allocations: 27.78 kB / 1.353 GB, free: 6.641 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.4022, allocations: 12 kB / 1.353 GB, free: 6.629 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.0001219/0.4023, allocations: 138.5 kB / 1.353 GB, free: 6.484 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.4023, allocations: 23.89 kB / 1.353 GB, free: 6.461 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.4027, allocations: 162.7 kB / 1.353 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.4027, allocations: 0 / 1.353 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4027, allocations: 0 / 1.353 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.4027, allocations: 0 / 1.353 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.403, allocations: 192.6 kB / 1.353 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.403, allocations: 0 / 1.353 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9e-05/0.403, allocations: 23.98 kB / 1.353 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.403, allocations: 4 kB / 1.353 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4031, allocations: 7.938 kB / 1.353 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4031, allocations: 0 / 1.353 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4031, allocations: 4 kB / 1.353 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.4033, allocations: 223.4 kB / 1.354 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.4034, allocations: 35.8 kB / 1.354 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.4034, allocations: 7.938 kB / 1.354 GB, free: 5.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.4037, allocations: 11.98 kB / 1.354 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.4037, allocations: 15.98 kB / 1.354 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.4037, allocations: 11.98 kB / 1.354 GB, free: 5.711 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001034/0.4038, allocations: 120 kB / 1.354 GB, free: 5.594 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4038, allocations: 0 / 1.354 GB, free: 5.594 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004667/0.4043, allocations: 75.88 kB / 1.354 GB, free: 5.52 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.0008075/0.4051, allocations: 0.8474 MB / 1.355 GB, free: 4.645 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.4053, allocations: 120.3 kB / 1.355 GB, free: 4.527 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4053, allocations: 0 / 1.355 GB, free: 4.527 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.4054, allocations: 43.92 kB / 1.355 GB, free: 4.484 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.4059, allocations: 60.19 kB / 1.355 GB, free: 4.426 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.4088, allocations: 2.047 MB / 1.357 GB, free: 2.211 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.4092, allocations: 0.7167 MB / 1.358 GB, free: 1.469 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.4093, allocations: 49.73 kB / 1.358 GB, free: 1.422 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.4095, allocations: 47.42 kB / 1.358 GB, free: 1.375 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.4095, allocations: 0 / 1.358 GB, free: 1.375 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.4386, allocations: 5.809 MB / 1.363 GB, free: 11.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.13, allocations: 8.703 kB / 1.363 GB, free: 11.74 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: 19.132286729000043]