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.0009431/0.0009431, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001053/0.001053, allocations: 161 kB / 24.17 MB, free: 328 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 0.8967/0.8967, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.85/1.85, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.122e-06/1.122e-06, allocations: 0 / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.688e-06/1.081e-05, allocations: 2.312 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1406/0.1406, allocations: 147 MB / 0.9036 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002506/0.1431, allocations: 1.357 MB / 0.9049 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000408/0.1435, allocations: 27.75 kB / 0.9049 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.1439, allocations: 174.5 kB / 0.9051 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005228/0.1444, allocations: 306.3 kB / 0.9054 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008591/0.1453, allocations: 415.1 kB / 0.9058 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000956/0.1463, allocations: 1.129 MB / 0.9069 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.1467, allocations: 453.8 kB / 0.9073 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009279/0.1477, allocations: 0.7087 MB / 0.908 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.1479, allocations: 299 kB / 0.9083 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.148, allocations: 40 kB / 0.9083 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1481, allocations: 95.88 kB / 0.9084 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.1483, allocations: 275.2 kB / 0.9087 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.1484, allocations: 195.5 kB / 0.9089 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.1488, allocations: 478.2 kB / 0.9093 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1488, allocations: 0 / 0.9093 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1488, allocations: 0 / 0.9093 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1488, allocations: 0 / 0.9093 GB, free: 13.41 MB / 0.8698 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.000657/0.1495, allocations: 0.7217 MB / 0.91 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1495, allocations: 12.03 kB / 0.91 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.537e-05/0.1496, allocations: 88.86 kB / 0.9101 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.15, allocations: 368.7 kB / 0.9105 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.15, allocations: 41.3 kB / 0.9105 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.1501, allocations: 59.92 kB / 0.9106 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.1505, allocations: 0.5187 MB / 0.9111 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1506, allocations: 3.938 kB / 0.9111 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.1506, allocations: 27.98 kB / 0.9111 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.1506, allocations: 27.98 kB / 0.9111 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.1508, allocations: 202.3 kB / 0.9113 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.1521, allocations: 2.728 MB / 0.914 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1523, allocations: 0.5247 MB / 0.9145 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.1523, allocations: 111.2 kB / 0.9146 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.1523, allocations: 4 kB / 0.9146 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1524, allocations: 42.5 kB / 0.9146 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1524, allocations: 4 kB / 0.9146 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.000221/0.1526, allocations: 105.6 kB / 0.9147 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.1527, allocations: 298.7 kB / 0.915 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1528, allocations: 251 kB / 0.9153 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1528, allocations: 29.7 kB / 0.9153 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1529, allocations: 268.8 kB / 0.9156 GB, free: 6.496 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1529, allocations: 40.73 kB / 0.9156 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.153, allocations: 25.7 kB / 0.9156 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.1531, allocations: 338.8 kB / 0.9159 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.1531, allocations: 14.81 kB / 0.916 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.458e-05/0.1532, allocations: 189.6 kB / 0.9161 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.706e-05/0.1532, allocations: 71.22 kB / 0.9162 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1532, allocations: 3.938 kB / 0.9162 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.975e-05/0.1533, allocations: 96.84 kB / 0.9163 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1533, allocations: 5.719 kB / 0.9163 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1533, allocations: 4 kB / 0.9163 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1533, allocations: 0 / 0.9163 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1534, allocations: 31.92 kB / 0.9163 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.1534, allocations: 3.984 kB / 0.9163 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.1535, allocations: 12 kB / 0.9164 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1535, allocations: 4 kB / 0.9164 GB, free: 5.574 MB / 0.8698 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 8.362e-05/0.1536, allocations: 124.8 kB / 0.9165 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.1537, allocations: 27.91 kB / 0.9165 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.1537, allocations: 28.98 kB / 0.9165 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1537, allocations: 4 kB / 0.9165 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.1537, allocations: 4 kB / 0.9165 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1537, allocations: 64 / 0.9165 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.1545, allocations: 1.15 MB / 0.9177 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1545, allocations: 4.109 kB / 0.9177 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.1545, allocations: 31.86 kB / 0.9177 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1545, allocations: 4 kB / 0.9177 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1546, allocations: 4 kB / 0.9177 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1546, allocations: 7.984 kB / 0.9177 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1546, allocations: 3.938 kB / 0.9177 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.1547, allocations: 299.3 kB / 0.918 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.1547, allocations: 31.84 kB / 0.918 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1547, allocations: 8 kB / 0.918 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.1548, allocations: 7.984 kB / 0.918 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.1548, allocations: 15.92 kB / 0.9181 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1548, allocations: 4 kB / 0.9181 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.1549, allocations: 92.62 kB / 0.9182 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.1549, allocations: 0 / 0.9182 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002204/0.1551, allocations: 123.5 kB / 0.9183 GB, free: 3.477 MB / 0.8698 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.0001452/0.1553, allocations: 108.2 kB / 0.9184 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.274e-05/0.1553, allocations: 52.72 kB / 0.9184 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1553, allocations: 0 / 0.9184 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.1554, allocations: 32.72 kB / 0.9185 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1557, allocations: 114.1 kB / 0.9186 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.1566, allocations: 0.8133 MB / 0.9194 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.029e-05/0.1567, allocations: 156.2 kB / 0.9195 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.032e-05/0.1568, allocations: 25.92 kB / 0.9195 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.1569, allocations: 111.3 kB / 0.9196 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/0.1569, allocations: 4 kB / 0.9196 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of Templates: time 0.006434/0.1633, allocations: 3.359 MB / 0.9229 GB, free: 14.71 MB / 0.8855 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.144599512219429]