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.0009794/0.0009794, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001028/0.001028, allocations: 169 kB / 23.27 MB, free: 1.223 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.9042/0.9042, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.314/2.314, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.493e-06/1.493e-06, allocations: 0 / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.611e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1336/0.1336, allocations: 144.9 MB / 1.031 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.1358, allocations: 1.284 MB / 1.032 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.1361, allocations: 27.75 kB / 1.032 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.1365, allocations: 170.7 kB / 1.033 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000487/0.137, allocations: 294.3 kB / 1.033 GB, free: 6.574 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007799/0.1378, allocations: 415.1 kB / 1.033 GB, free: 6.168 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000935/0.1387, allocations: 1.078 MB / 1.034 GB, free: 5.082 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.1392, allocations: 400.7 kB / 1.035 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.1402, allocations: 0.6814 MB / 1.035 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.1406, allocations: 311 kB / 1.036 GB, free: 3.699 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.1406, allocations: 40 kB / 1.036 GB, free: 3.66 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1408, allocations: 87.89 kB / 1.036 GB, free: 3.574 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.141, allocations: 279.2 kB / 1.036 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.1412, allocations: 191.5 kB / 1.036 GB, free: 3.113 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.1417, allocations: 478.2 kB / 1.037 GB, free: 2.645 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1417, allocations: 4 kB / 1.037 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1417, allocations: 0 / 1.037 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.1417, allocations: 0 / 1.037 GB, free: 2.641 MB / 0.9948 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.0007973/0.1425, allocations: 0.8578 MB / 1.038 GB, free: 1.746 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1425, allocations: 8.625 kB / 1.038 GB, free: 1.738 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1426, allocations: 108.5 kB / 1.038 GB, free: 1.633 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.1431, allocations: 374.4 kB / 1.038 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.1431, allocations: 37.31 kB / 1.038 GB, free: 1.203 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.1432, allocations: 48 kB / 1.038 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.1437, allocations: 0.5887 MB / 1.039 GB, free: 460 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.1438, allocations: 7.938 kB / 1.039 GB, free: 452 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.1438, allocations: 24 kB / 1.039 GB, free: 428 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.1438, allocations: 27.98 kB / 1.039 GB, free: 400 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.144, allocations: 144.9 kB / 1.039 GB, free: 256 kB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.1462, allocations: 3.949 MB / 1.043 GB, free: 12.16 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1464, allocations: 270.9 kB / 1.043 GB, free: 11.77 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.1465, allocations: 105 kB / 1.043 GB, free: 11.62 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.1465, allocations: 15.97 kB / 1.043 GB, free: 11.61 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1465, allocations: 45.33 kB / 1.043 GB, free: 11.55 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1465, allocations: 0 / 1.043 GB, free: 11.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0003203/0.1468, allocations: 130.3 kB / 1.043 GB, free: 11.42 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1469, allocations: 290.9 kB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.1471, allocations: 306.2 kB / 1.044 GB, free: 10.75 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1471, allocations: 25.7 kB / 1.044 GB, free: 10.72 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.1473, allocations: 358.8 kB / 1.044 GB, free: 10.36 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.1473, allocations: 31.73 kB / 1.044 GB, free: 10.33 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.1474, allocations: 39.36 kB / 1.044 GB, free: 10.28 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1475, allocations: 0.5079 MB / 1.045 GB, free: 9.762 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.1475, allocations: 4 kB / 1.045 GB, free: 9.758 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1476, allocations: 202.6 kB / 1.045 GB, free: 9.504 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.588e-05/0.1477, allocations: 93.91 kB / 1.045 GB, free: 9.387 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1477, allocations: 0 / 1.045 GB, free: 9.387 MB / 1.01 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001224/0.1478, allocations: 101.4 kB / 1.045 GB, free: 9.281 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1478, allocations: 4 kB / 1.045 GB, free: 9.277 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1478, allocations: 0 / 1.045 GB, free: 9.277 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1478, allocations: 4.188 kB / 1.045 GB, free: 9.273 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.148, allocations: 31.97 kB / 1.045 GB, free: 9.242 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.148, allocations: 7.938 kB / 1.045 GB, free: 9.234 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.148, allocations: 8 kB / 1.045 GB, free: 9.227 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.148, allocations: 8 kB / 1.045 GB, free: 9.219 MB / 1.01 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.0001039/0.1481, allocations: 168.5 kB / 1.045 GB, free: 9.043 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.1483, allocations: 31.81 kB / 1.045 GB, free: 9.012 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.1483, allocations: 28.92 kB / 1.045 GB, free: 8.984 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1483, allocations: 4 kB / 1.045 GB, free: 8.98 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1483, allocations: 8 kB / 1.045 GB, free: 8.973 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1483, allocations: 4 kB / 1.045 GB, free: 8.969 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1496, allocations: 1.488 MB / 1.047 GB, free: 7.402 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1496, allocations: 0 / 1.047 GB, free: 7.402 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.465e-05/0.1497, allocations: 28.09 kB / 1.047 GB, free: 7.375 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1497, allocations: 7.938 kB / 1.047 GB, free: 7.367 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1497, allocations: 8.281 kB / 1.047 GB, free: 7.359 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1497, allocations: 11.92 kB / 1.047 GB, free: 7.348 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1497, allocations: 7.938 kB / 1.047 GB, free: 7.34 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.1499, allocations: 308.9 kB / 1.047 GB, free: 6.98 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.1499, allocations: 27.84 kB / 1.047 GB, free: 6.953 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.15, allocations: 4 kB / 1.047 GB, free: 6.949 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.15, allocations: 4 kB / 1.047 GB, free: 6.945 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.1501, allocations: 23.86 kB / 1.047 GB, free: 6.922 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.1501, allocations: 4 kB / 1.047 GB, free: 6.918 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.943e-05/0.1502, allocations: 206.9 kB / 1.048 GB, free: 6.715 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1502, allocations: 0 / 1.048 GB, free: 6.715 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003331/0.1505, allocations: 123.4 kB / 1.048 GB, free: 6.594 MB / 1.01 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.0001613/0.1507, allocations: 127.1 kB / 1.048 GB, free: 6.461 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.1508, allocations: 55.52 kB / 1.048 GB, free: 6.402 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1508, allocations: 0 / 1.048 GB, free: 6.402 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.1508, allocations: 36.31 kB / 1.048 GB, free: 6.363 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.1512, allocations: 85.11 kB / 1.048 GB, free: 6.281 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.1522, allocations: 0.8097 MB / 1.049 GB, free: 5.398 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.1523, allocations: 156.2 kB / 1.049 GB, free: 5.223 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 5.209e-05/0.1524, allocations: 21.94 kB / 1.049 GB, free: 5.199 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.1525, allocations: 138.1 kB / 1.049 GB, free: 5.062 MB / 1.01 GB Notification: Performance of SimCode: time 5.71e-07/0.1525, allocations: 0 / 1.049 GB, free: 5.062 MB / 1.01 GB Notification: Performance of Templates: time 0.006014/0.1585, allocations: 3.061 MB / 1.052 GB, free: 2.078 MB / 1.01 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.766633826773614]