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.001426/0.001426, allocations: 113.7 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.001594/0.001594, allocations: 217.4 kB / 23.04 MB, free: 5.062 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.996 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 3.291/3.291, allocations: 0.5003 GB / 0.8061 GB, free: 26.82 MB / 0.6231 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.002017/0.002017, allocations: 67.97 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3473, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.007063/0.3544, allocations: 4.172 MB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003708/0.3581, allocations: 2.469 MB / 1.352 GB, free: 9.789 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.3582, allocations: 0 / 1.352 GB, free: 9.789 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.3586, allocations: 43.69 kB / 1.352 GB, free: 9.746 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.359, allocations: 107.3 kB / 1.352 GB, free: 9.641 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.3609, allocations: 0.5373 MB / 1.353 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.3614, allocations: 271.8 kB / 1.353 GB, free: 8.836 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.567e-05/0.3615, allocations: 9.734 kB / 1.353 GB, free: 8.824 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.3618, allocations: 111.6 kB / 1.353 GB, free: 8.715 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.362, allocations: 103.6 kB / 1.353 GB, free: 8.613 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.362, allocations: 8 kB / 1.353 GB, free: 8.605 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.3633, allocations: 479.2 kB / 1.353 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3634, allocations: 35.89 kB / 1.354 GB, free: 8.102 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.3636, allocations: 91.58 kB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.3648, allocations: 415 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3648, allocations: 0 / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of FrontEnd: time 5.43e-06/0.3648, allocations: 7.984 kB / 1.354 GB, free: 7.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.3648, allocations: 0 / 1.354 GB, free: 7.598 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.001049/0.3659, allocations: 449.3 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.3659, allocations: 12.03 kB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.258e-05/0.3659, allocations: 8.453 kB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.383e-05/0.366, allocations: 54.67 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.3683, allocations: 192.6 kB / 1.355 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.3686, allocations: 146.4 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.3686, allocations: 16.7 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.3687, allocations: 20.12 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/0.3694, allocations: 300.3 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3694, allocations: 0 / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.3695, allocations: 12 kB / 1.355 GB, free: 6.312 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.3695, allocations: 4 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007881/0.3703, allocations: 263.6 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.3722, allocations: 1.36 MB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.3729, allocations: 194.4 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.3731, allocations: 68.81 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.3732, allocations: 7.984 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3732, allocations: 38.56 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/0.3732, allocations: 0 / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.0008966/0.3741, allocations: 250.9 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3741, allocations: 55.41 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3743, allocations: 154.2 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.3743, allocations: 33.64 kB / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.3744, allocations: 128.2 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.3745, allocations: 67.42 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3746, allocations: 57.81 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3747, allocations: 326.8 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.375, allocations: 64.42 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.3753, allocations: 139.5 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.3758, allocations: 214.8 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3758, allocations: 0 / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006642/0.3765, allocations: 255 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3765, allocations: 8 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3765, allocations: 0 / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.3765, allocations: 4 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.3769, allocations: 63.89 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3769, allocations: 4 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.3772, allocations: 32.08 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.3772, allocations: 16 kB / 1.359 GB, free: 2.301 MB / 1.045 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.0001569/0.3774, allocations: 141.6 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.3774, allocations: 15.91 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006888/0.3781, allocations: 230.5 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3781, allocations: 0 / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3781, allocations: 4 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3781, allocations: 4 kB / 1.359 GB, free: 1.895 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.3784, allocations: 216.5 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3784, allocations: 4 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.3788, allocations: 47.91 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3788, allocations: 0 / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.3788, allocations: 8 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3788, allocations: 0 / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3788, allocations: 0 / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.3794, allocations: 308.7 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/0.3795, allocations: 23.88 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.3795, allocations: 4 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.3798, allocations: 19.98 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.3799, allocations: 15.95 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.3799, allocations: 4 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001002/0.38, allocations: 122.3 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.38, allocations: 0 / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003914/0.3804, allocations: 67.94 kB / 1.36 GB, free: 1.016 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 (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.001048/0.3814, allocations: 0.8623 MB / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006266/0.3821, allocations: 176.4 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3821, allocations: 0 / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.3823, allocations: 85.73 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.3828, allocations: 59.94 kB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.3865, allocations: 2.178 MB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3869, allocations: 0.7133 MB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002969/0.3872, allocations: 49.92 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.3873, allocations: 55.41 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of SimCode: time 7.31e-07/0.3873, allocations: 0 / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.416, allocations: 5.485 MB / 1.369 GB, free: 7.383 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.2, allocations: 13.88 kB / 1.369 GB, free: 7.371 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.169396632001735]