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.0009781/0.0009781, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001064/0.001064, allocations: 181 kB / 23.36 MB, free: 1.133 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.9669/0.9669, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.416/2.416, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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 2.024e-06/2.024e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.207e-05, allocations: 8.359 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1382/0.1382, allocations: 146.9 MB / 0.9821 GB, free: 10.68 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1405, allocations: 1.333 MB / 0.9834 GB, free: 9.352 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.1409, allocations: 27.75 kB / 0.9834 GB, free: 9.324 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.1413, allocations: 166.7 kB / 0.9836 GB, free: 9.16 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.1418, allocations: 302.2 kB / 0.9839 GB, free: 8.863 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007625/0.1426, allocations: 411.1 kB / 0.9843 GB, free: 8.461 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0008542/0.1434, allocations: 1.07 MB / 0.9853 GB, free: 7.391 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.1439, allocations: 398.6 kB / 0.9857 GB, free: 6.988 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.145, allocations: 0.6853 MB / 0.9864 GB, free: 6.301 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.1454, allocations: 287.1 kB / 0.9866 GB, free: 6.02 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.1455, allocations: 43.94 kB / 0.9867 GB, free: 5.977 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.1457, allocations: 91.94 kB / 0.9868 GB, free: 5.887 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.1459, allocations: 279.2 kB / 0.987 GB, free: 5.613 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.1461, allocations: 191.5 kB / 0.9872 GB, free: 5.426 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.1466, allocations: 482.2 kB / 0.9877 GB, free: 4.953 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1466, allocations: 0 / 0.9877 GB, free: 4.953 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1466, allocations: 0 / 0.9877 GB, free: 4.953 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.1467, allocations: 0 / 0.9877 GB, free: 4.953 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.0007724/0.1474, allocations: 0.7058 MB / 0.9884 GB, free: 4.223 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1475, allocations: 12.62 kB / 0.9884 GB, free: 4.211 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.1476, allocations: 92.84 kB / 0.9885 GB, free: 4.121 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007792/0.1484, allocations: 356.8 kB / 0.9888 GB, free: 3.742 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.1484, allocations: 37.3 kB / 0.9888 GB, free: 3.707 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/0.1485, allocations: 55.94 kB / 0.9889 GB, free: 3.652 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.149, allocations: 0.5187 MB / 0.9894 GB, free: 3.043 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.149, allocations: 3.938 kB / 0.9894 GB, free: 3.039 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.1491, allocations: 27.98 kB / 0.9894 GB, free: 3.012 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.527e-05/0.1491, allocations: 27.98 kB / 0.9894 GB, free: 2.984 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.1494, allocations: 208.8 kB / 0.9896 GB, free: 2.762 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.1511, allocations: 2.72 MB / 0.9923 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1514, allocations: 0.5247 MB / 0.9928 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.667e-05/0.1514, allocations: 111.3 kB / 0.9929 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.1514, allocations: 4 kB / 0.9929 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.1515, allocations: 46.5 kB / 0.993 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.1515, allocations: 0 / 0.993 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0003422/0.1518, allocations: 118 kB / 0.9931 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.1519, allocations: 290.7 kB / 0.9934 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1521, allocations: 239 kB / 0.9936 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1521, allocations: 29.7 kB / 0.9936 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.1523, allocations: 272.8 kB / 0.9939 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.1523, allocations: 39.69 kB / 0.9939 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.1524, allocations: 25.7 kB / 0.9939 GB, free: 14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1525, allocations: 339.4 kB / 0.9943 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.1525, allocations: 14.83 kB / 0.9943 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1526, allocations: 177.6 kB / 0.9944 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.1527, allocations: 79.14 kB / 0.9945 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1527, allocations: 7.938 kB / 0.9945 GB, free: 13.31 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001247/0.1528, allocations: 92.89 kB / 0.9946 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1528, allocations: 4 kB / 0.9946 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1528, allocations: 3.984 kB / 0.9946 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1528, allocations: 4 kB / 0.9946 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.153, allocations: 23.98 kB / 0.9947 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.153, allocations: 7.938 kB / 0.9947 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.1531, allocations: 15.94 kB / 0.9947 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1531, allocations: 8 kB / 0.9947 GB, free: 13.14 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.000111/0.1532, allocations: 124.8 kB / 0.9948 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.1533, allocations: 15.98 kB / 0.9948 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.1534, allocations: 32.92 kB / 0.9948 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1534, allocations: 0 / 0.9948 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1534, allocations: 4.219 kB / 0.9949 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1534, allocations: 7.984 kB / 0.9949 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.1548, allocations: 1.142 MB / 0.996 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1548, allocations: 8.031 kB / 0.996 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/0.1549, allocations: 31.97 kB / 0.996 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1549, allocations: 0 / 0.996 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1549, allocations: 4 kB / 0.996 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1549, allocations: 12 kB / 0.996 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.1549, allocations: 7.938 kB / 0.996 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.155, allocations: 295.5 kB / 0.9963 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.1551, allocations: 35.78 kB / 0.9964 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1551, allocations: 8 kB / 0.9964 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.1552, allocations: 4 kB / 0.9964 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1552, allocations: 19.86 kB / 0.9964 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1552, allocations: 4 kB / 0.9964 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.598e-05/0.1553, allocations: 92.62 kB / 0.9965 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1553, allocations: 0 / 0.9965 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003773/0.1557, allocations: 115.5 kB / 0.9966 GB, free: 11.06 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.000182/0.1559, allocations: 100.3 kB / 0.9967 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.156, allocations: 60.64 kB / 0.9967 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.156, allocations: 0 / 0.9967 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.156, allocations: 28.78 kB / 0.9968 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.1564, allocations: 79.75 kB / 0.9968 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1577, allocations: 0.8133 MB / 0.9976 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.1578, allocations: 144.2 kB / 0.9978 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.878e-05/0.1579, allocations: 21.94 kB / 0.9978 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.158, allocations: 111.3 kB / 0.9979 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of SimCode: time 9.21e-07/0.158, allocations: 0 / 0.9979 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of Templates: time 0.006812/0.1649, allocations: 2.989 MB / 1.001 GB, free: 6.695 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 -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.717679718043655]