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.001447/0.001447, 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.001588/0.001588, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 179] 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.974/2.974, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001933/0.001933, allocations: 66.19 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005276/0.3136, allocations: 3.888 MB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002691/0.3163, allocations: 2.235 MB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.3164, allocations: 0 / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3166, allocations: 47.67 kB / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.3169, allocations: 107.3 kB / 1.37 GB, free: 7.703 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3181, allocations: 0.5386 MB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.3184, allocations: 259.8 kB / 1.37 GB, free: 6.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.3184, allocations: 9.75 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.3186, allocations: 123.6 kB / 1.37 GB, free: 6.777 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.3188, allocations: 87.59 kB / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.3188, allocations: 8 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006815/0.3195, allocations: 395.3 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.3195, allocations: 43.88 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.198e-05/0.3196, allocations: 75.72 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005698/0.3202, allocations: 411 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3202, allocations: 0 / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3202, allocations: 0 / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3202, allocations: 0 / 1.371 GB, free: 5.777 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.000717/0.3209, allocations: 453.3 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.321, allocations: 12.03 kB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.321, allocations: 50.73 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.323, allocations: 188.6 kB / 1.372 GB, free: 5.047 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.3233, allocations: 150.3 kB / 1.372 GB, free: 4.875 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.3233, allocations: 12.7 kB / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.3233, allocations: 16.38 kB / 1.372 GB, free: 4.848 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.3241, allocations: 0.5017 MB / 1.373 GB, free: 4.262 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3241, allocations: 0 / 1.373 GB, free: 4.262 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.3241, allocations: 19.98 kB / 1.373 GB, free: 4.242 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.3241, allocations: 4 kB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/0.3248, allocations: 255.6 kB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.3264, allocations: 1.219 MB / 1.374 GB, free: 2.691 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.3271, allocations: 182.5 kB / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.3273, allocations: 68.81 kB / 1.374 GB, free: 2.434 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3273, allocations: 4 kB / 1.374 GB, free: 2.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3273, allocations: 42.5 kB / 1.375 GB, free: 2.379 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.3273, allocations: 0 / 1.375 GB, free: 2.379 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0007631/0.3281, allocations: 239.1 kB / 1.375 GB, free: 2.141 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3281, allocations: 59.41 kB / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.3283, allocations: 168.2 kB / 1.375 GB, free: 1.898 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.3283, allocations: 25.7 kB / 1.375 GB, free: 1.867 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.3284, allocations: 136.2 kB / 1.375 GB, free: 1.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.3285, allocations: 63.44 kB / 1.375 GB, free: 1.668 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/0.3285, allocations: 45.92 kB / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3287, allocations: 330.8 kB / 1.376 GB, free: 1.281 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.3289, allocations: 64.42 kB / 1.376 GB, free: 1.219 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.3291, allocations: 146.2 kB / 1.376 GB, free: 1.043 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.3296, allocations: 219.9 kB / 1.376 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3296, allocations: 0 / 1.376 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005786/0.3302, allocations: 253.3 kB / 1.376 GB, free: 0.543 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3302, allocations: 4 kB / 1.376 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3302, allocations: 4 kB / 1.376 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3302, allocations: 4 kB / 1.376 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.3306, allocations: 71.88 kB / 1.376 GB, free: 472 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3306, allocations: 7.984 kB / 1.376 GB, free: 464 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.3308, allocations: 31.77 kB / 1.376 GB, free: 432 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.3309, allocations: 20.06 kB / 1.376 GB, free: 412 kB / 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 0.000122/0.331, allocations: 134.8 kB / 1.376 GB, free: 268 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.331, allocations: 19.89 kB / 1.376 GB, free: 248 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.3317, allocations: 232.1 kB / 1.377 GB, free: 12 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3317, allocations: 0 / 1.377 GB, free: 12 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3317, allocations: 0 / 1.377 GB, free: 12 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3317, allocations: 7.984 kB / 1.377 GB, free: 4 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.332, allocations: 192.5 kB / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.332, allocations: 4 kB / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.3323, allocations: 55.95 kB / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3323, allocations: 0 / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.3323, allocations: 4 kB / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3323, allocations: 0 / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3323, allocations: 0 / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.3329, allocations: 305.2 kB / 1.377 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.333, allocations: 27.86 kB / 1.377 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.333, allocations: 8 kB / 1.377 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3333, allocations: 23.92 kB / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.3333, allocations: 19.92 kB / 1.377 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.3333, allocations: 8 kB / 1.377 GB, free: 15.31 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.968e-05/0.3334, allocations: 120.3 kB / 1.377 GB, free: 15.2 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3334, allocations: 0 / 1.377 GB, free: 15.2 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000338/0.3338, allocations: 59.94 kB / 1.377 GB, free: 15.14 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 (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.0009628/0.3347, allocations: 0.8606 MB / 1.378 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.3353, allocations: 178.5 kB / 1.379 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3353, allocations: 0 / 1.379 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.3355, allocations: 79.89 kB / 1.379 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.3359, allocations: 52.39 kB / 1.379 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.3391, allocations: 2.179 MB / 1.381 GB, free: 11.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3392, allocations: 103.1 kB / 1.381 GB, free: 11.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.3395, allocations: 61.91 kB / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3396, allocations: 47.41 kB / 1.381 GB, free: 11.4 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.3396, allocations: 0 / 1.381 GB, free: 11.4 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.3721, allocations: 6.045 MB / 1.387 GB, free: 5.598 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.6, allocations: 7.875 kB / 1.387 GB, free: 5.59 MB / 1.076 GB " [Timeout remaining time 289] (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.662174355238676]