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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001176/0.001176, allocations: 101.9 kB / 16.36 MB, free: 6.469 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.001143/0.001144, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 60.28 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2574, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005876/0.2634, allocations: 4.06 MB / 0.9551 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.2663, allocations: 2.43 MB / 0.9575 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.498e-05/0.2664, allocations: 3.938 kB / 0.9575 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.2666, allocations: 51.67 kB / 0.9575 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.267, allocations: 91.42 kB / 0.9576 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.2683, allocations: 0.5248 MB / 0.9581 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.2686, allocations: 259.9 kB / 0.9584 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.2687, allocations: 13.55 kB / 0.9584 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.2689, allocations: 107.6 kB / 0.9585 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.2691, allocations: 95.59 kB / 0.9586 GB, free: 412 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.2692, allocations: 12 kB / 0.9586 GB, free: 400 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009137/0.2701, allocations: 451.4 kB / 0.959 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.2702, allocations: 47.73 kB / 0.9591 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 9.256e-05/0.2703, allocations: 83.66 kB / 0.9591 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.2709, allocations: 410.9 kB / 0.9595 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2709, allocations: 0 / 0.9595 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2709, allocations: 3.938 kB / 0.9595 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2709, allocations: 0 / 0.9595 GB, free: 15.41 MB / 0.7481 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.0007643/0.2717, allocations: 0.507 MB / 0.96 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2717, allocations: 8.031 kB / 0.96 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.2737, allocations: 180.5 kB / 0.9602 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.2741, allocations: 204.1 kB / 0.9604 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.2741, allocations: 12.7 kB / 0.9604 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.2741, allocations: 16.38 kB / 0.9604 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.2748, allocations: 320.3 kB / 0.9607 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2748, allocations: 3.938 kB / 0.9607 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.2748, allocations: 8 kB / 0.9607 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.2748, allocations: 4 kB / 0.9607 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.2756, allocations: 259.6 kB / 0.961 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.2772, allocations: 1.389 MB / 0.9623 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.2778, allocations: 194.5 kB / 0.9625 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.2781, allocations: 76.81 kB / 0.9626 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.2781, allocations: 3.984 kB / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2781, allocations: 42.55 kB / 0.9627 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/0.2782, allocations: 4 kB / 0.9627 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0007518/0.2789, allocations: 241.2 kB / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.279, allocations: 55.41 kB / 0.9629 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.2791, allocations: 156.7 kB / 0.9631 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.2792, allocations: 29.7 kB / 0.9631 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.2792, allocations: 135.9 kB / 0.9632 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.2793, allocations: 59.11 kB / 0.9633 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.2794, allocations: 53.83 kB / 0.9634 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2795, allocations: 322.8 kB / 0.9637 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.2797, allocations: 68.41 kB / 0.9637 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.28, allocations: 138.3 kB / 0.9639 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.2804, allocations: 223.3 kB / 0.9641 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2804, allocations: 4 kB / 0.9641 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005406/0.281, allocations: 245.3 kB / 0.9643 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.281, allocations: 14.33 kB / 0.9643 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.281, allocations: 4 kB / 0.9643 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.281, allocations: 4 kB / 0.9643 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.2814, allocations: 59.89 kB / 0.9644 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2814, allocations: 8 kB / 0.9644 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.2817, allocations: 31.73 kB / 0.9644 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.2817, allocations: 12 kB / 0.9644 GB, free: 10 MB / 0.7481 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.0001487/0.2818, allocations: 137.8 kB / 0.9646 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.2819, allocations: 15.81 kB / 0.9646 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005891/0.2825, allocations: 236.5 kB / 0.9648 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2825, allocations: 4 kB / 0.9648 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2825, allocations: 0 / 0.9648 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2825, allocations: 0 / 0.9648 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.2828, allocations: 253.3 kB / 0.9651 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2828, allocations: 3.938 kB / 0.9651 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.2831, allocations: 47.95 kB / 0.9651 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2832, allocations: 4 kB / 0.9651 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.2832, allocations: 4 kB / 0.9651 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2832, allocations: 3.938 kB / 0.9651 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2832, allocations: 0 / 0.9651 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/0.2837, allocations: 301.2 kB / 0.9654 GB, free: 8.934 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.2839, allocations: 105 kB / 0.9655 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.2839, allocations: 4 kB / 0.9655 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.2842, allocations: 15.98 kB / 0.9655 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.2842, allocations: 11.98 kB / 0.9655 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.2842, allocations: 8 kB / 0.9655 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.8e-05/0.2843, allocations: 121.1 kB / 0.9657 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2843, allocations: 4 kB / 0.9657 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003598/0.2847, allocations: 64.03 kB / 0.9657 GB, free: 8.59 MB / 0.7481 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.0002147/0.2849, allocations: 131.2 kB / 0.9658 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.2854, allocations: 183.7 kB / 0.966 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2854, allocations: 0 / 0.966 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.2857, allocations: 88.52 kB / 0.9661 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.2861, allocations: 67.81 kB / 0.9662 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009598/0.2871, allocations: 405.6 kB / 0.9666 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.2874, allocations: 0.7212 MB / 0.9673 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002511/0.2876, allocations: 49.92 kB / 0.9673 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/0.2877, allocations: 23.42 kB / 0.9673 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.2877, allocations: 4 kB / 0.9673 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of Templates: time 0.007235/0.295, allocations: 3.387 MB / 0.9706 GB, free: 3.535 MB / 0.7481 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 -s gbode -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/jenkins1/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