Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.0015/0.0015, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.00158/0.00158, allocations: 214.4 kB / 20.13 MB, free: 3.055 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.432/1.432, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.82/2.82, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 GB " [Timeout remaining time 176] 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.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001902/0.001902, allocations: 67.89 kB / 1.165 GB, free: 452 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8813/0.8832, allocations: 178.9 MB / 1.34 GB, free: 16.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00542/0.8887, allocations: 4.144 MB / 1.344 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.891, allocations: 2.451 MB / 1.347 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.8911, allocations: 4.812 kB / 1.347 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.8913, allocations: 46.95 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.8916, allocations: 103.2 kB / 1.347 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.8931, allocations: 0.5417 MB / 1.347 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003618/0.8935, allocations: 261.6 kB / 1.348 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.8935, allocations: 6.484 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.8937, allocations: 115.3 kB / 1.348 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.8939, allocations: 98.66 kB / 1.348 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.8939, allocations: 13.62 kB / 1.348 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.8949, allocations: 471.6 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.83e-05/0.895, allocations: 39.45 kB / 1.348 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.8951, allocations: 87.77 kB / 1.348 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.8958, allocations: 415.3 kB / 1.349 GB, free: 10.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.8958, allocations: 4.594 kB / 1.349 GB, free: 10.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8958, allocations: 0 / 1.349 GB, free: 10.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.8958, allocations: 1.219 kB / 1.349 GB, free: 10.47 MB / 1.061 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.00082/0.8966, allocations: 0.5185 MB / 1.349 GB, free: 10 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.8967, allocations: 14.12 kB / 1.349 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.542e-05/0.8967, allocations: 4.547 kB / 1.349 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.8968, allocations: 49.09 kB / 1.349 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.8989, allocations: 193 kB / 1.349 GB, free: 9.922 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.8992, allocations: 208.7 kB / 1.35 GB, free: 9.707 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.8992, allocations: 15.61 kB / 1.35 GB, free: 9.699 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.8992, allocations: 18.25 kB / 1.35 GB, free: 9.691 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.8999, allocations: 306.7 kB / 1.35 GB, free: 9.512 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.9, allocations: 1.656 kB / 1.35 GB, free: 9.512 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.9, allocations: 11.28 kB / 1.35 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.9, allocations: 5.828 kB / 1.35 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/0.9008, allocations: 262 kB / 1.35 GB, free: 9.441 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.9021, allocations: 1.393 MB / 1.352 GB, free: 8.145 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006751/0.9028, allocations: 187.5 kB / 1.352 GB, free: 8.074 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.903, allocations: 73.25 kB / 1.352 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.903, allocations: 6.484 kB / 1.352 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.903, allocations: 33.77 kB / 1.352 GB, free: 8.004 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.903, allocations: 0 / 1.352 GB, free: 8.004 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0007999/0.9038, allocations: 251.1 kB / 1.352 GB, free: 7.902 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.9039, allocations: 57.78 kB / 1.352 GB, free: 7.836 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.904, allocations: 158.4 kB / 1.352 GB, free: 7.719 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.904, allocations: 31.95 kB / 1.352 GB, free: 7.684 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.9041, allocations: 123.7 kB / 1.353 GB, free: 7.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.9041, allocations: 64.3 kB / 1.353 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.9042, allocations: 54.03 kB / 1.353 GB, free: 7.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.9043, allocations: 331.6 kB / 1.353 GB, free: 7.156 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.9045, allocations: 67.59 kB / 1.353 GB, free: 7.137 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.9048, allocations: 143.9 kB / 1.353 GB, free: 7.023 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.9052, allocations: 216 kB / 1.353 GB, free: 6.875 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9052, allocations: 1.125 kB / 1.353 GB, free: 6.875 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005979/0.9058, allocations: 249 kB / 1.354 GB, free: 6.773 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.9058, allocations: 6.25 kB / 1.354 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9059, allocations: 2.719 kB / 1.354 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.9059, allocations: 4.812 kB / 1.354 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.9062, allocations: 69.36 kB / 1.354 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.9063, allocations: 9.406 kB / 1.354 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.9065, allocations: 33.34 kB / 1.354 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.9065, allocations: 11.42 kB / 1.354 GB, free: 6.738 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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 9.738e-05/0.9066, allocations: 131.6 kB / 1.354 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.9067, allocations: 17.06 kB / 1.354 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006445/0.9073, allocations: 230.8 kB / 1.354 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.9073, allocations: 2.188 kB / 1.354 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.9073, allocations: 0 / 1.354 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9073, allocations: 2.266 kB / 1.354 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.9076, allocations: 247.2 kB / 1.354 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.9076, allocations: 0.6094 kB / 1.354 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.9079, allocations: 47.56 kB / 1.354 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.9079, allocations: 1.156 kB / 1.354 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.9079, allocations: 7.047 kB / 1.354 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.9079, allocations: 1.359 kB / 1.354 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9079, allocations: 4.75 kB / 1.354 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/0.9085, allocations: 297.1 kB / 1.355 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.9086, allocations: 106.3 kB / 1.355 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.9086, allocations: 13.06 kB / 1.355 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.9089, allocations: 25.91 kB / 1.355 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.9089, allocations: 9.812 kB / 1.355 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.909, allocations: 11.77 kB / 1.355 GB, free: 5.934 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.754e-05/0.909, allocations: 112 kB / 1.355 GB, free: 5.852 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.909, allocations: 0 / 1.355 GB, free: 5.852 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003824/0.9094, allocations: 64.75 kB / 1.355 GB, free: 5.84 MB / 1.061 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0007923/0.9102, allocations: 0.8664 MB / 1.356 GB, free: 5.105 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005792/0.9108, allocations: 171.2 kB / 1.356 GB, free: 5.066 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9108, allocations: 1.094 kB / 1.356 GB, free: 5.066 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.911, allocations: 89.11 kB / 1.356 GB, free: 5.039 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.9115, allocations: 54.3 kB / 1.356 GB, free: 5.023 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.9143, allocations: 2.165 MB / 1.358 GB, free: 3.371 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.9144, allocations: 0.723 MB / 1.359 GB, free: 2.668 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.9147, allocations: 50.66 kB / 1.359 GB, free: 2.641 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.9148, allocations: 48.11 kB / 1.359 GB, free: 2.613 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.9148, allocations: 0 / 1.359 GB, free: 2.613 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.9393, allocations: 5.293 MB / 1.364 GB, free: 1.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/9.35, allocations: 9.375 kB / 1.364 GB, free: 1.98 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.087547142989933]