Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001788/0.001788, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.00155/0.00155, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.615/1.615, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.487/3.487, allocations: 0.49 GB / 0.7959 GB, free: 33.32 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.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_12_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.002053/0.002053, allocations: 65.86 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3413, allocations: 176.1 MB / 1.327 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006326/0.3476, allocations: 4.17 MB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.3509, allocations: 2.465 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.351, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.3513, allocations: 47.67 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.3516, allocations: 103.3 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.3534, allocations: 0.5491 MB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.3539, allocations: 259.9 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.148e-05/0.354, allocations: 9.75 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.3543, allocations: 119.5 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3545, allocations: 95.59 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.3545, allocations: 8 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.3558, allocations: 479.2 kB / 1.335 GB, free: 9.562 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.3559, allocations: 43.83 kB / 1.335 GB, free: 9.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.3561, allocations: 79.66 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.3571, allocations: 430.9 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3571, allocations: 0 / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3571, allocations: 0 / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3571, allocations: 0 / 1.335 GB, free: 9.02 MB / 1.029 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.0009011/0.358, allocations: 449.3 kB / 1.336 GB, free: 8.547 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.358, allocations: 8.031 kB / 1.336 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.515e-05/0.3581, allocations: 4.516 kB / 1.336 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.3581, allocations: 54.73 kB / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.3603, allocations: 192.6 kB / 1.336 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.3607, allocations: 158.3 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3608, allocations: 12.7 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.3608, allocations: 16.12 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007213/0.3615, allocations: 304.2 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3615, allocations: 0 / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.3616, allocations: 12 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.3616, allocations: 4 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.3624, allocations: 263.6 kB / 1.337 GB, free: 7.473 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.3643, allocations: 1.364 MB / 1.338 GB, free: 6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/0.365, allocations: 190.5 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.3652, allocations: 68.81 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.3652, allocations: 8 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3653, allocations: 34.56 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.3653, allocations: 0 / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.000896/0.3662, allocations: 245.4 kB / 1.339 GB, free: 5.438 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.3662, allocations: 55.41 kB / 1.339 GB, free: 5.371 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.3664, allocations: 156.6 kB / 1.339 GB, free: 5.211 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.3664, allocations: 37.64 kB / 1.339 GB, free: 5.168 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3666, allocations: 132.2 kB / 1.339 GB, free: 5.035 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.3666, allocations: 63.42 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3667, allocations: 53.92 kB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3669, allocations: 326.8 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.3671, allocations: 64.42 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.3674, allocations: 142.2 kB / 1.34 GB, free: 4.348 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.368, allocations: 219.8 kB / 1.34 GB, free: 4.102 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.368, allocations: 0 / 1.34 GB, free: 4.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006843/0.3686, allocations: 257.1 kB / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3687, allocations: 4 kB / 1.34 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3687, allocations: 4 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3687, allocations: 4 kB / 1.34 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.3691, allocations: 67.89 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.3691, allocations: 7.984 kB / 1.34 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.3694, allocations: 28.16 kB / 1.34 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.3694, allocations: 15.98 kB / 1.34 GB, free: 3.715 MB / 1.029 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.0001831/0.3696, allocations: 139.8 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.3697, allocations: 15.91 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/0.3704, allocations: 234.5 kB / 1.341 GB, free: 3.316 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3704, allocations: 4 kB / 1.341 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3704, allocations: 0 / 1.341 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3704, allocations: 0 / 1.341 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.3707, allocations: 220.5 kB / 1.341 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3707, allocations: 0 / 1.341 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.3711, allocations: 43.97 kB / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3711, allocations: 0 / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.3711, allocations: 11.92 kB / 1.341 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3711, allocations: 4 kB / 1.341 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3711, allocations: 0 / 1.341 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/0.3718, allocations: 300.8 kB / 1.341 GB, free: 2.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3719, allocations: 27.88 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.3719, allocations: 4 kB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.3722, allocations: 19.92 kB / 1.341 GB, free: 2.637 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3723, allocations: 11.97 kB / 1.341 GB, free: 2.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.3723, allocations: 12 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001324/0.3724, allocations: 117.3 kB / 1.341 GB, free: 2.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3724, allocations: 0 / 1.341 GB, free: 2.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004259/0.3729, allocations: 63.94 kB / 1.341 GB, free: 2.438 MB / 1.029 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.001173/0.374, allocations: 0.8714 MB / 1.342 GB, free: 1.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005906/0.3746, allocations: 174.7 kB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3746, allocations: 0 / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.3749, allocations: 83.88 kB / 1.342 GB, free: 1.293 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3754, allocations: 60.44 kB / 1.342 GB, free: 1.234 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.3792, allocations: 2.176 MB / 1.345 GB, free: 14.92 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3795, allocations: 0.7133 MB / 1.345 GB, free: 14.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002798/0.3798, allocations: 49.92 kB / 1.345 GB, free: 14.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.3799, allocations: 55.41 kB / 1.345 GB, free: 14.08 MB / 1.045 GB Notification: Performance of SimCode: time 5.61e-07/0.3799, allocations: 0 / 1.345 GB, free: 14.08 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.4091, allocations: 5.488 MB / 1.351 GB, free: 8.777 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.32, allocations: 9.125 kB / 1.351 GB, free: 8.773 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.661862954963]