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.001549/0.001549, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001795/0.001795, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.833/1.833, allocations: 377.8 MB / 0.6239 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 178] 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.[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_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.[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_12_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.8115 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.315e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1421/0.1421, allocations: 172.5 MB / 0.98 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.007542/0.1496, allocations: 8.959 MB / 0.9887 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004504/0.1501, allocations: 27.75 kB / 0.9887 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.1507, allocations: 321.6 kB / 0.9891 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005989/0.1513, allocations: 326 kB / 0.9894 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008484/0.1522, allocations: 427 kB / 0.9898 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.1535, allocations: 1.14 MB / 0.9909 GB, free: 8.664 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006012/0.1541, allocations: 455.2 kB / 0.9913 GB, free: 8.219 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.1574, allocations: 2.249 MB / 0.9935 GB, free: 5.961 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.1578, allocations: 322.9 kB / 0.9938 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.1578, allocations: 40 kB / 0.9939 GB, free: 5.605 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.158, allocations: 79.94 kB / 0.9939 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.1582, allocations: 283.2 kB / 0.9942 GB, free: 5.25 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1583, allocations: 195.5 kB / 0.9944 GB, free: 5.059 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.1588, allocations: 478.2 kB / 0.9948 GB, free: 4.59 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1588, allocations: 4 kB / 0.9949 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1588, allocations: 0 / 0.9949 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.1588, allocations: 0 / 0.9949 GB, free: 4.586 MB / 0.9011 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.000751/0.1595, allocations: 0.8538 MB / 0.9957 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1596, allocations: 8.031 kB / 0.9957 GB, free: 3.684 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.1597, allocations: 119.5 kB / 0.9958 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.1601, allocations: 394.1 kB / 0.9962 GB, free: 3.148 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.1601, allocations: 41.31 kB / 0.9962 GB, free: 3.109 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.1602, allocations: 59.92 kB / 0.9963 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.1607, allocations: 0.5968 MB / 0.9969 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1608, allocations: 4 kB / 0.9969 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.1608, allocations: 23.98 kB / 0.9969 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.1608, allocations: 31.92 kB / 0.9969 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.1611, allocations: 175.6 kB / 0.9971 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.163, allocations: 4.05 MB / 1.001 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.1632, allocations: 271 kB / 1.001 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.092e-05/0.1632, allocations: 108.9 kB / 1.001 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.1633, allocations: 8 kB / 1.001 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1633, allocations: 45.33 kB / 1.001 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.1633, allocations: 0 / 1.001 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002828/0.1636, allocations: 138.3 kB / 1.002 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.1637, allocations: 294.7 kB / 1.002 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1638, allocations: 318.3 kB / 1.002 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1638, allocations: 25.7 kB / 1.002 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.164, allocations: 354.9 kB / 1.003 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.164, allocations: 31.73 kB / 1.003 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1641, allocations: 47.25 kB / 1.003 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1642, allocations: 0.5079 MB / 1.003 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.1642, allocations: 4 kB / 1.003 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-05/0.1643, allocations: 198.6 kB / 1.003 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.09e-05/0.1644, allocations: 82.14 kB / 1.003 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1644, allocations: 4 kB / 1.003 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001124/0.1645, allocations: 101.4 kB / 1.003 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1645, allocations: 4.188 kB / 1.003 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1645, allocations: 8 kB / 1.003 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1645, allocations: 0 / 1.003 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1646, allocations: 35.97 kB / 1.004 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.1646, allocations: 3.938 kB / 1.004 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.1647, allocations: 7.953 kB / 1.004 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.1647, allocations: 8 kB / 1.004 GB, free: 10.96 MB / 0.9167 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 9.932e-05/0.1648, allocations: 176.4 kB / 1.004 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/0.1649, allocations: 27.86 kB / 1.004 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.1649, allocations: 36.98 kB / 1.004 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.165, allocations: 4 kB / 1.004 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.165, allocations: 0 / 1.004 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.165, allocations: 7.938 kB / 1.004 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.1661, allocations: 1.585 MB / 1.005 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1661, allocations: 112 / 1.005 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.1662, allocations: 32.2 kB / 1.005 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1662, allocations: 4 kB / 1.005 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1662, allocations: 16.05 kB / 1.005 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1662, allocations: 4 kB / 1.005 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.1662, allocations: 7.938 kB / 1.005 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.1664, allocations: 320.8 kB / 1.006 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.1664, allocations: 35.78 kB / 1.006 GB, free: 8.551 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1664, allocations: 4 kB / 1.006 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.1665, allocations: 4 kB / 1.006 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.1665, allocations: 23.86 kB / 1.006 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1665, allocations: 4 kB / 1.006 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001089/0.1666, allocations: 223 kB / 1.006 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1666, allocations: 0 / 1.006 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002621/0.1669, allocations: 123.4 kB / 1.006 GB, free: 8.176 MB / 0.9167 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.0001626/0.1671, allocations: 115.2 kB / 1.006 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.1672, allocations: 59.55 kB / 1.006 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1672, allocations: 384 / 1.006 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.1672, allocations: 43.55 kB / 1.006 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.1676, allocations: 94.62 kB / 1.006 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1687, allocations: 0.8215 MB / 1.007 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.967e-05/0.1688, allocations: 160.2 kB / 1.007 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.629e-05/0.1689, allocations: 45.89 kB / 1.007 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.1689, allocations: 24.5 kB / 1.007 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of SimCode: time 1.223e-06/0.1689, allocations: 0 / 1.007 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of Templates: time 0.005652/0.1745, allocations: 3.19 MB / 1.011 GB, free: 3.637 MB / 0.9167 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","",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.346234101103619]