Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.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.002312/0.002312, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002783/0.002783, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.918/2.918, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.622e-05/3.789e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.252/0.252, allocations: 172.4 MB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01319/0.2652, allocations: 8.95 MB / 0.9635 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006097/0.2658, allocations: 27.75 kB / 0.9635 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008466/0.2666, allocations: 313.6 kB / 0.9638 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007994/0.2674, allocations: 330.1 kB / 0.9641 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.2686, allocations: 431 kB / 0.9645 GB, free: 5.809 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001695/0.2703, allocations: 1.148 MB / 0.9656 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007989/0.2711, allocations: 455.3 kB / 0.9661 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005402/0.2765, allocations: 2.256 MB / 0.9683 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.2771, allocations: 334.9 kB / 0.9686 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.2772, allocations: 40 kB / 0.9686 GB, free: 1.57 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.2774, allocations: 75.95 kB / 0.9687 GB, free: 1.496 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.2777, allocations: 291.2 kB / 0.969 GB, free: 1.211 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.278, allocations: 183.6 kB / 0.9691 GB, free: 1.031 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000874/0.2789, allocations: 0.6424 MB / 0.9698 GB, free: 396 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2789, allocations: 3.938 kB / 0.9698 GB, free: 392 kB / 0.9167 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2789, allocations: 0 / 0.9698 GB, free: 392 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.2789, allocations: 0 / 0.9698 GB, free: 392 kB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001295/0.2802, allocations: 0.885 MB / 0.9706 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2802, allocations: 12.03 kB / 0.9707 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.2804, allocations: 111.5 kB / 0.9708 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.2812, allocations: 398.1 kB / 0.9711 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.2813, allocations: 37.31 kB / 0.9712 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.908e-05/0.2814, allocations: 51.98 kB / 0.9712 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.2824, allocations: 0.6586 MB / 0.9719 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.2825, allocations: 4 kB / 0.9719 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.2825, allocations: 24 kB / 0.9719 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-05/0.2826, allocations: 35.86 kB / 0.9719 GB, free: 14 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.2831, allocations: 239.5 kB / 0.9722 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.287, allocations: 4.116 MB / 0.9762 GB, free: 9.492 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.2874, allocations: 287 kB / 0.9765 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.2876, allocations: 124.9 kB / 0.9766 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.2876, allocations: 4 kB / 0.9766 GB, free: 8.918 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.2876, allocations: 53.31 kB / 0.9766 GB, free: 8.855 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.2876, allocations: 336 / 0.9766 GB, free: 8.855 MB / 0.9323 GB Notification: Performance of matching and sorting (n=10): time 0.0005767/0.2882, allocations: 162 kB / 0.9768 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/0.2884, allocations: 286.7 kB / 0.9771 GB, free: 8.344 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.2888, allocations: 366.1 kB / 0.9774 GB, free: 7.973 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.2889, allocations: 33.7 kB / 0.9774 GB, free: 7.934 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.2891, allocations: 351 kB / 0.9778 GB, free: 7.582 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.2892, allocations: 39.69 kB / 0.9778 GB, free: 7.543 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.2893, allocations: 39.36 kB / 0.9778 GB, free: 7.496 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003073/0.2896, allocations: 0.5161 MB / 0.9783 GB, free: 6.969 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.999e-05/0.2896, allocations: 19.98 kB / 0.9784 GB, free: 6.949 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.2899, allocations: 210.6 kB / 0.9786 GB, free: 6.688 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.2901, allocations: 98.03 kB / 0.9787 GB, free: 6.566 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2901, allocations: 0 / 0.9787 GB, free: 6.566 MB / 0.9323 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002537/0.2903, allocations: 125.3 kB / 0.9788 GB, free: 6.438 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2904, allocations: 4 kB / 0.9788 GB, free: 6.434 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2904, allocations: 7.984 kB / 0.9788 GB, free: 6.426 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2904, allocations: 0 / 0.9788 GB, free: 6.426 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2905, allocations: 31.97 kB / 0.9788 GB, free: 6.395 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2906, allocations: 0 / 0.9788 GB, free: 6.395 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.2907, allocations: 20.02 kB / 0.9788 GB, free: 6.375 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.2907, allocations: 15.98 kB / 0.9789 GB, free: 6.359 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0001983/0.2909, allocations: 196.5 kB / 0.979 GB, free: 6.156 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.2911, allocations: 31.84 kB / 0.9791 GB, free: 6.125 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.2911, allocations: 28.98 kB / 0.9791 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2911, allocations: 4 kB / 0.9791 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2911, allocations: 4 kB / 0.9791 GB, free: 6.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2911, allocations: 3.938 kB / 0.9791 GB, free: 6.086 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.2932, allocations: 1.656 MB / 0.9807 GB, free: 4.344 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2932, allocations: 0 / 0.9807 GB, free: 4.344 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.2933, allocations: 27.98 kB / 0.9808 GB, free: 4.316 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2933, allocations: 4 kB / 0.9808 GB, free: 4.312 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2933, allocations: 4 kB / 0.9808 GB, free: 4.309 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.2933, allocations: 8.047 kB / 0.9808 GB, free: 4.301 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.2933, allocations: 7.938 kB / 0.9808 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.2938, allocations: 349 kB / 0.9811 GB, free: 3.895 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.209e-05/0.2938, allocations: 27.84 kB / 0.9811 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.2939, allocations: 8 kB / 0.9811 GB, free: 3.859 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.294, allocations: 4 kB / 0.9812 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.294, allocations: 15.92 kB / 0.9812 GB, free: 3.84 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.294, allocations: 15.88 kB / 0.9812 GB, free: 3.824 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002286/0.2943, allocations: 235 kB / 0.9814 GB, free: 3.594 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.2943, allocations: 0 / 0.9814 GB, free: 3.594 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004334/0.2947, allocations: 127.4 kB / 0.9815 GB, free: 3.469 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0002262/0.2949, allocations: 127.1 kB / 0.9816 GB, free: 3.336 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.2952, allocations: 75.53 kB / 0.9817 GB, free: 3.258 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2952, allocations: 0 / 0.9817 GB, free: 3.258 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.2953, allocations: 48.42 kB / 0.9818 GB, free: 3.207 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.2959, allocations: 92.95 kB / 0.9819 GB, free: 3.117 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.2973, allocations: 0.8293 MB / 0.9827 GB, free: 2.215 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.2977, allocations: 292.6 kB / 0.9829 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.2978, allocations: 53.89 kB / 0.983 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.2978, allocations: 16.5 kB / 0.983 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of SimCode: time 4.71e-07/0.2978, allocations: 4 kB / 0.983 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of Templates: time 0.008587/0.3064, allocations: 3.178 MB / 0.9861 GB, free: 14.77 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.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: 8.282535697100684]