Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00259/0.00259, allocations: 83.69 kB / 20.23 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.003125/0.003125, allocations: 165.3 kB / 23.55 MB, free: 0.8672 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.637/1.637, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.031/3.031, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.155e-06/2.155e-06, allocations: 3.938 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.755e-05/3.971e-05, allocations: 3.688 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2777/0.2777, allocations: 172.4 MB / 0.9792 GB, free: 5.148 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.2929, allocations: 8.957 MB / 0.9879 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007945/0.2936, allocations: 31.69 kB / 0.988 GB, free: 12.13 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.2947, allocations: 317.7 kB / 0.9883 GB, free: 11.82 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.2958, allocations: 330 kB / 0.9886 GB, free: 11.5 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.2971, allocations: 419.1 kB / 0.989 GB, free: 11.09 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.2988, allocations: 1.133 MB / 0.9901 GB, free: 9.949 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.2998, allocations: 467.1 kB / 0.9905 GB, free: 9.492 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006162/0.306, allocations: 2.253 MB / 0.9927 GB, free: 7.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007308/0.3067, allocations: 315 kB / 0.993 GB, free: 6.922 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.3069, allocations: 40 kB / 0.9931 GB, free: 6.883 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.3072, allocations: 79.95 kB / 0.9931 GB, free: 6.805 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003889/0.3076, allocations: 283.2 kB / 0.9934 GB, free: 6.527 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.308, allocations: 191.5 kB / 0.9936 GB, free: 6.34 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.309, allocations: 0.6385 MB / 0.9942 GB, free: 5.699 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.309, allocations: 0 / 0.9942 GB, free: 5.699 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.309, allocations: 8 kB / 0.9942 GB, free: 5.691 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.896e-05/0.309, allocations: 3.938 kB / 0.9942 GB, free: 5.688 MB / 0.948 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.00181/0.3109, allocations: 0.8812 MB / 0.9951 GB, free: 4.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3109, allocations: 8.031 kB / 0.9951 GB, free: 4.762 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.3112, allocations: 115.5 kB / 0.9952 GB, free: 4.648 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000885/0.312, allocations: 390.1 kB / 0.9956 GB, free: 4.234 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.3121, allocations: 41.31 kB / 0.9956 GB, free: 4.191 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.675e-05/0.3122, allocations: 48 kB / 0.9957 GB, free: 4.145 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.3134, allocations: 0.678 MB / 0.9963 GB, free: 3.355 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.3135, allocations: 3.938 kB / 0.9963 GB, free: 3.352 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.3135, allocations: 24 kB / 0.9963 GB, free: 3.328 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-05/0.3136, allocations: 27.98 kB / 0.9964 GB, free: 3.301 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/0.3142, allocations: 231.6 kB / 0.9966 GB, free: 3.074 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004025/0.3182, allocations: 4.128 MB / 1.001 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.3186, allocations: 279 kB / 1.001 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.3188, allocations: 120.9 kB / 1.001 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3188, allocations: 12 kB / 1.001 GB, free: 14.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.3188, allocations: 41.33 kB / 1.001 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.3188, allocations: 0 / 1.001 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0006001/0.3194, allocations: 162.2 kB / 1.001 GB, free: 14 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/0.3196, allocations: 298.9 kB / 1.001 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006387/0.3203, allocations: 354.3 kB / 1.002 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.3203, allocations: 33.7 kB / 1.002 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.3206, allocations: 358.9 kB / 1.002 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.3207, allocations: 39.69 kB / 1.002 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.3208, allocations: 35.38 kB / 1.002 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003179/0.3211, allocations: 0.5157 MB / 1.003 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/0.3212, allocations: 19.98 kB / 1.003 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.3214, allocations: 206.6 kB / 1.003 GB, free: 12 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.3216, allocations: 106 kB / 1.003 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3216, allocations: 4 kB / 1.003 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000291/0.3219, allocations: 113.4 kB / 1.003 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3219, allocations: 16.17 kB / 1.003 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3219, allocations: 64 / 1.003 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.322, allocations: 8 kB / 1.003 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.3221, allocations: 23.98 kB / 1.003 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3221, allocations: 3.938 kB / 1.003 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.3223, allocations: 19.88 kB / 1.003 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.3223, allocations: 4 kB / 1.003 GB, free: 11.68 MB / 0.9636 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.0002176/0.3225, allocations: 200.5 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.3227, allocations: 27.86 kB / 1.004 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.12e-05/0.3228, allocations: 32.98 kB / 1.004 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3228, allocations: 4 kB / 1.004 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3228, allocations: 4 kB / 1.004 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.3228, allocations: 11.92 kB / 1.004 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.3247, allocations: 1.64 MB / 1.005 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3247, allocations: 4 kB / 1.005 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.3249, allocations: 36.34 kB / 1.005 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.3249, allocations: 7.938 kB / 1.005 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3249, allocations: 4 kB / 1.005 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.3249, allocations: 7.938 kB / 1.005 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3249, allocations: 0 / 1.005 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.3254, allocations: 344.8 kB / 1.006 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.3254, allocations: 31.8 kB / 1.006 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.3255, allocations: 4 kB / 1.006 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3256, allocations: 15.98 kB / 1.006 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.3256, allocations: 15.92 kB / 1.006 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3256, allocations: 7.938 kB / 1.006 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002458/0.3259, allocations: 239 kB / 1.006 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.3259, allocations: 0 / 1.006 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004739/0.3264, allocations: 123.4 kB / 1.006 GB, free: 8.781 MB / 0.9636 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.0002879/0.3267, allocations: 127.1 kB / 1.006 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.3269, allocations: 75.53 kB / 1.006 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.3269, allocations: 4 kB / 1.006 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3271, allocations: 43.59 kB / 1.006 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.3278, allocations: 104 kB / 1.006 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.3293, allocations: 0.8292 MB / 1.007 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.3297, allocations: 300.6 kB / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.3298, allocations: 41.91 kB / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.3299, allocations: 24.5 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of SimCode: time 7.11e-07/0.3299, allocations: 0 / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of Templates: time 0.009534/0.3394, allocations: 3.156 MB / 1.011 GB, free: 4.086 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.810750244068913]