Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009612/0.0009612, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001557/0.001557, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9537/0.9537, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.418/2.418, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.|proSouH.port_b.Xi_outflow.[0-9,]+.|proSouC.port_b.Xi_outflow.[0-9,]+.|proSouXi.port_a.Xi_outflow.[0-9,]+.|proSouH.port_a.Xi_outflow.[0-9,]+.|proSouC.port_a.Xi_outflow.[0-9,]+.|proSouH.port_a.C_outflow.[0-9,]+.|proSouH.port_b.C_outflow.[0-9,]+.|proSouC.port_a.C_outflow.[0-9,]+.|proSouC.port_b.C_outflow.[0-9,]+.|proSouXi.port_a.C_outflow.[0-9,]+.|proSouXi.port_b.C_outflow.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|proSouH.port_b.Xi_outflow.[0-9,]+.|proSouC.port_b.Xi_outflow.[0-9,]+.|proSouXi.port_a.Xi_outflow.[0-9,]+.|proSouH.port_a.Xi_outflow.[0-9,]+.|proSouC.port_a.Xi_outflow.[0-9,]+.|proSouH.port_a.C_outflow.[0-9,]+.|proSouH.port_b.C_outflow.[0-9,]+.|proSouC.port_a.C_outflow.[0-9,]+.|proSouC.port_b.C_outflow.[0-9,]+.|proSouXi.port_a.C_outflow.[0-9,]+.|proSouXi.port_b.C_outflow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.526e-05, allocations: 9.062 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1338/0.1338, allocations: 147 MB / 0.9822 GB, free: 10.59 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1355, allocations: 1.323 MB / 0.9835 GB, free: 9.27 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.1357, allocations: 31.75 kB / 0.9835 GB, free: 9.238 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.136, allocations: 170.6 kB / 0.9837 GB, free: 9.07 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.1365, allocations: 298.3 kB / 0.984 GB, free: 8.777 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1376, allocations: 403.2 kB / 0.9843 GB, free: 8.383 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007789/0.1384, allocations: 1.066 MB / 0.9854 GB, free: 7.316 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.1388, allocations: 398.6 kB / 0.9858 GB, free: 6.914 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008169/0.1396, allocations: 0.6775 MB / 0.9864 GB, free: 6.234 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.1398, allocations: 299 kB / 0.9867 GB, free: 5.941 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.1399, allocations: 40 kB / 0.9867 GB, free: 5.902 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.14, allocations: 87.92 kB / 0.9868 GB, free: 5.816 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.1402, allocations: 275.3 kB / 0.9871 GB, free: 5.547 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1403, allocations: 195.5 kB / 0.9873 GB, free: 5.355 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.1407, allocations: 482.1 kB / 0.9877 GB, free: 4.883 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1407, allocations: 0 / 0.9877 GB, free: 4.883 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.92e-07/0.1407, allocations: 0 / 0.9877 GB, free: 4.883 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1407, allocations: 0 / 0.9877 GB, free: 4.883 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.0005946/0.1413, allocations: 0.7135 MB / 0.9884 GB, free: 4.145 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.1414, allocations: 12.62 kB / 0.9884 GB, free: 4.133 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.1414, allocations: 88.86 kB / 0.9885 GB, free: 4.047 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.1418, allocations: 348.8 kB / 0.9889 GB, free: 3.676 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1418, allocations: 45.3 kB / 0.9889 GB, free: 3.633 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.1419, allocations: 52 kB / 0.989 GB, free: 3.582 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.1423, allocations: 0.5225 MB / 0.9895 GB, free: 2.969 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1423, allocations: 0 / 0.9895 GB, free: 2.969 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.1423, allocations: 27.98 kB / 0.9895 GB, free: 2.941 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.1424, allocations: 31.92 kB / 0.9895 GB, free: 2.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1425, allocations: 200.4 kB / 0.9897 GB, free: 2.699 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.144, allocations: 2.72 MB / 0.9924 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1442, allocations: 0.5247 MB / 0.9929 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.1442, allocations: 115.2 kB / 0.993 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.1442, allocations: 4 kB / 0.993 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1443, allocations: 46.5 kB / 0.993 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1443, allocations: 0 / 0.993 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0002376/0.1445, allocations: 114.5 kB / 0.9932 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.1446, allocations: 286.7 kB / 0.9934 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1447, allocations: 243 kB / 0.9937 GB, free: 14.31 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1447, allocations: 33.64 kB / 0.9937 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.1448, allocations: 272.8 kB / 0.994 GB, free: 14 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1448, allocations: 31.7 kB / 0.994 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.1449, allocations: 33.69 kB / 0.994 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.145, allocations: 338.8 kB / 0.9943 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.145, allocations: 6.828 kB / 0.9943 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.145, allocations: 185.6 kB / 0.9945 GB, free: 13.35 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.1451, allocations: 79.56 kB / 0.9946 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1451, allocations: 7.938 kB / 0.9946 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.51e-05/0.1452, allocations: 96.78 kB / 0.9947 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.1452, allocations: 7.938 kB / 0.9947 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1452, allocations: 4.188 kB / 0.9947 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1452, allocations: 7.984 kB / 0.9947 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-05/0.1453, allocations: 27.98 kB / 0.9947 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.1453, allocations: 0 / 0.9947 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.1454, allocations: 11.94 kB / 0.9948 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1454, allocations: 12 kB / 0.9948 GB, free: 13.07 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 7.996e-05/0.1455, allocations: 124.5 kB / 0.9949 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1456, allocations: 19.98 kB / 0.9949 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.1456, allocations: 32.91 kB / 0.9949 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1456, allocations: 8 kB / 0.9949 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.1456, allocations: 0 / 0.9949 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1456, allocations: 4 kB / 0.9949 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007249/0.1464, allocations: 1.138 MB / 0.9961 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1464, allocations: 0 / 0.9961 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.1464, allocations: 32.25 kB / 0.9961 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1464, allocations: 8 kB / 0.9961 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1464, allocations: 8 kB / 0.9961 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1464, allocations: 0 / 0.9961 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.1464, allocations: 11.88 kB / 0.9961 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.1466, allocations: 295.5 kB / 0.9964 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.1466, allocations: 27.78 kB / 0.9964 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1466, allocations: 8 kB / 0.9964 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.324e-05/0.1467, allocations: 4 kB / 0.9964 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.1467, allocations: 19.92 kB / 0.9965 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1467, allocations: 8 kB / 0.9965 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.1468, allocations: 92.56 kB / 0.9965 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1468, allocations: 0 / 0.9965 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002211/0.147, allocations: 115.5 kB / 0.9967 GB, free: 10.99 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.0001342/0.1471, allocations: 96.33 kB / 0.9968 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.536e-05/0.1472, allocations: 56.73 kB / 0.9968 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1472, allocations: 4.375 kB / 0.9968 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.1472, allocations: 40.72 kB / 0.9968 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.1475, allocations: 81.2 kB / 0.9969 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/0.1484, allocations: 0.8054 MB / 0.9977 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.1488, allocations: 152.2 kB / 0.9979 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.703e-05/0.1488, allocations: 21.95 kB / 0.9979 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.149, allocations: 103.3 kB / 0.998 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of SimCode: time 5.92e-07/0.149, allocations: 0 / 0.998 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of Templates: time 0.005759/0.1547, allocations: 2.997 MB / 1.001 GB, free: 6.617 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.274601494893432]