Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007875/0.007875, allocations: 100.5 kB / 15.73 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.001849, allocations: 190.4 kB / 16.68 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 55.91 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.063, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006208/1.07, allocations: 4.045 MB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002912/1.073, allocations: 2.429 MB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/1.073, allocations: 1.719 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003304/1.073, allocations: 51 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004053/1.074, allocations: 103 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/1.075, allocations: 0.534 MB / 1.095 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/1.076, allocations: 257.5 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.895e-05/1.076, allocations: 18.06 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/1.076, allocations: 117.2 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/1.077, allocations: 91.2 kB / 1.095 GB, free: 376 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/1.077, allocations: 8.031 kB / 1.095 GB, free: 376 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/1.078, allocations: 459.9 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/1.078, allocations: 43.84 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/1.078, allocations: 88.17 kB / 1.096 GB, free: 132 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/1.079, allocations: 410.6 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.079, allocations: 4 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.224e-06/1.079, allocations: 0.5938 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.187e-05/1.079, allocations: 0 / 1.096 GB, free: 15.99 MB / 0.8731 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.0011/1.08, allocations: 0.5044 MB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/1.08, allocations: 9.984 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/1.083, allocations: 179 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/1.083, allocations: 216.2 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/1.083, allocations: 11.48 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/1.083, allocations: 14.59 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007988/1.084, allocations: 311.2 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/1.084, allocations: 1.109 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/1.084, allocations: 7.188 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/1.084, allocations: 9.766 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008227/1.085, allocations: 262.7 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/1.087, allocations: 1.385 MB / 1.099 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/1.088, allocations: 194.4 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/1.088, allocations: 77.55 kB / 1.099 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/1.088, allocations: 6.766 kB / 1.099 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/1.088, allocations: 33.12 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/1.088, allocations: 0 / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.0009116/1.089, allocations: 252.5 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/1.089, allocations: 53.22 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/1.089, allocations: 161.6 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/1.089, allocations: 30.73 kB / 1.1 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/1.089, allocations: 128 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/1.089, allocations: 64.7 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/1.09, allocations: 53.53 kB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.09, allocations: 322.7 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/1.09, allocations: 64.61 kB / 1.101 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/1.09, allocations: 143 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/1.091, allocations: 228.2 kB / 1.101 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.091, allocations: 5.5 kB / 1.101 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007394/1.092, allocations: 245.6 kB / 1.101 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.092, allocations: 5.875 kB / 1.101 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.092, allocations: 3.438 kB / 1.101 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/1.092, allocations: 8.453 kB / 1.101 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/1.092, allocations: 73.66 kB / 1.101 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/1.092, allocations: 8.531 kB / 1.101 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/1.092, allocations: 38.09 kB / 1.101 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/1.093, allocations: 11.09 kB / 1.101 GB, free: 12.32 MB / 0.8731 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.000199/1.093, allocations: 130.4 kB / 1.101 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/1.093, allocations: 20.62 kB / 1.101 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007554/1.094, allocations: 229.2 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.094, allocations: 1.938 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.094, allocations: 1.156 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.094, allocations: 1.734 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/1.094, allocations: 247.4 kB / 1.102 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.094, allocations: 4.703 kB / 1.102 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/1.094, allocations: 47.22 kB / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/1.094, allocations: 5.25 kB / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/1.094, allocations: 7.203 kB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.094, allocations: 1.281 kB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.094, allocations: 0 / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/1.095, allocations: 293.7 kB / 1.102 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/1.095, allocations: 106.4 kB / 1.102 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/1.095, allocations: 9.156 kB / 1.102 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/1.096, allocations: 17.56 kB / 1.102 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/1.096, allocations: 10.22 kB / 1.102 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/1.096, allocations: 15.38 kB / 1.102 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000107/1.096, allocations: 112 kB / 1.103 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.096, allocations: 1.406 kB / 1.103 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004576/1.096, allocations: 67.61 kB / 1.103 GB, free: 11.42 MB / 0.8731 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.0002694/1.097, allocations: 139 kB / 1.103 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006701/1.097, allocations: 185.4 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.097, allocations: 0.9688 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/1.097, allocations: 85.41 kB / 1.103 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/1.098, allocations: 72.16 kB / 1.103 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.099, allocations: 408.3 kB / 1.103 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/1.1, allocations: 0.7183 MB / 1.104 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003191/1.1, allocations: 51.06 kB / 1.104 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/1.1, allocations: 24.2 kB / 1.104 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.1, allocations: 0 / 1.104 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.01205/1.112, allocations: 3.402 MB / 1.108 GB, free: 9.984 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches