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.001499/0.001499, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001967/0.001967, allocations: 195.6 kB / 16.14 MB, free: 6.711 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.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.375/2.375, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.663, allocations: 140.4 MB / 0.9489 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004754/0.6678, allocations: 4.106 MB / 0.9529 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002277/0.6701, allocations: 2.463 MB / 0.9553 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.6702, allocations: 1.281 kB / 0.9553 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.6704, allocations: 34.95 kB / 0.9554 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.6707, allocations: 91.28 kB / 0.9555 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.6718, allocations: 485.4 kB / 0.9559 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.6721, allocations: 333.9 kB / 0.9562 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.6722, allocations: 13.83 kB / 0.9562 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.6724, allocations: 113.3 kB / 0.9564 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.6725, allocations: 101.8 kB / 0.9565 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.6726, allocations: 7.312 kB / 0.9565 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007875/0.6734, allocations: 455.5 kB / 0.9569 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.365e-05/0.6734, allocations: 38.11 kB / 0.9569 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.02e-05/0.6735, allocations: 85.27 kB / 0.957 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005853/0.6741, allocations: 410.1 kB / 0.9574 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6741, allocations: 0 / 0.9574 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6742, allocations: 0 / 0.9574 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.6742, allocations: 7.938 kB / 0.9574 GB, free: 2.508 MB / 0.7169 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.0006492/0.6748, allocations: 0.5034 MB / 0.9579 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.6749, allocations: 13.72 kB / 0.9579 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.6769, allocations: 183.6 kB / 0.9581 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.6771, allocations: 212.8 kB / 0.9583 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.6772, allocations: 14.94 kB / 0.9583 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.6772, allocations: 15.09 kB / 0.9583 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.6778, allocations: 307.3 kB / 0.9586 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.6778, allocations: 0 / 0.9586 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.6779, allocations: 8.125 kB / 0.9586 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.6779, allocations: 4.125 kB / 0.9586 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.6786, allocations: 263.6 kB / 0.9589 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.68, allocations: 1.389 MB / 0.9602 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.6807, allocations: 194.8 kB / 0.9604 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.6809, allocations: 77.53 kB / 0.9605 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.681, allocations: 6.156 kB / 0.9605 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.681, allocations: 36.83 kB / 0.9605 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 4.588e-06/0.681, allocations: 3.984 kB / 0.9605 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008244/0.6818, allocations: 249.7 kB / 0.9608 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.6819, allocations: 53.62 kB / 0.9608 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.6821, allocations: 156.8 kB / 0.961 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.6821, allocations: 35.7 kB / 0.961 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.6822, allocations: 126.7 kB / 0.9611 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.6823, allocations: 58.86 kB / 0.9612 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.6824, allocations: 62.7 kB / 0.9612 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6825, allocations: 321.8 kB / 0.9616 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.6827, allocations: 68.19 kB / 0.9616 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.683, allocations: 139.2 kB / 0.9618 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.6835, allocations: 215.3 kB / 0.962 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6835, allocations: 1.031 kB / 0.962 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006221/0.6842, allocations: 248.3 kB / 0.9622 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6842, allocations: 11.17 kB / 0.9622 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6842, allocations: 3.562 kB / 0.9622 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.6842, allocations: 7.188 kB / 0.9622 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.6846, allocations: 66.73 kB / 0.9623 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6846, allocations: 3.906 kB / 0.9623 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.6849, allocations: 35.83 kB / 0.9623 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.6849, allocations: 9.625 kB / 0.9623 GB, free: 14.32 MB / 0.7325 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.000151/0.6851, allocations: 129.5 kB / 0.9624 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.6852, allocations: 23.14 kB / 0.9625 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006457/0.6858, allocations: 227 kB / 0.9627 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6858, allocations: 6.344 kB / 0.9627 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6859, allocations: 0 / 0.9627 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6859, allocations: 5.516 kB / 0.9627 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.6862, allocations: 243.8 kB / 0.9629 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6862, allocations: 0 / 0.9629 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.6865, allocations: 50.11 kB / 0.963 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6865, allocations: 5.281 kB / 0.963 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.6866, allocations: 10.34 kB / 0.963 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6866, allocations: 0 / 0.963 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6866, allocations: 1.219 kB / 0.963 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.6871, allocations: 298.9 kB / 0.9633 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.582e-05/0.6872, allocations: 105.6 kB / 0.9634 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.6873, allocations: 5.094 kB / 0.9634 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.6876, allocations: 19.33 kB / 0.9634 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.6876, allocations: 8.922 kB / 0.9634 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.6877, allocations: 13.83 kB / 0.9634 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.6878, allocations: 118.7 kB / 0.9635 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6878, allocations: 0 / 0.9635 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003826/0.6882, allocations: 68.16 kB / 0.9636 GB, free: 13.29 MB / 0.7325 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.0002492/0.6884, allocations: 139.2 kB / 0.9637 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005206/0.6889, allocations: 182 kB / 0.9639 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.689, allocations: 1.219 kB / 0.9639 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.6892, allocations: 86.66 kB / 0.964 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.6898, allocations: 61.77 kB / 0.9641 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009885/0.6908, allocations: 462.2 kB / 0.9645 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.6911, allocations: 0.7237 MB / 0.9652 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003599/0.6914, allocations: 51.91 kB / 0.9653 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.6915, allocations: 25.02 kB / 0.9653 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.6915, allocations: 0 / 0.9653 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.007015/0.6986, allocations: 3.244 MB / 0.9684 GB, free: 10.33 MB / 0.7325 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