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.001291/0.001291, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001455/0.001455, allocations: 161 kB / 24.16 MB, free: 336 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.032/1.032, allocations: 177.2 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.964/1.964, allocations: 377.9 MB / 0.624 GB, free: 8.383 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.973e-06/1.973e-06, allocations: 0 / 0.7601 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.384e-05, allocations: 4.125 kB / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1421/0.1422, allocations: 147 MB / 0.9036 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.1444, allocations: 1.365 MB / 0.905 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.1446, allocations: 27.75 kB / 0.905 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.145, allocations: 170.6 kB / 0.9052 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.1454, allocations: 306.2 kB / 0.9055 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000707/0.1461, allocations: 411.2 kB / 0.9059 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009284/0.1471, allocations: 1.144 MB / 0.907 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004887/0.1476, allocations: 433.8 kB / 0.9074 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008963/0.1485, allocations: 0.7048 MB / 0.9081 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.1487, allocations: 303 kB / 0.9084 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.1488, allocations: 43.94 kB / 0.9084 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1489, allocations: 87.89 kB / 0.9085 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1491, allocations: 283.2 kB / 0.9088 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.1492, allocations: 183.5 kB / 0.9089 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.1496, allocations: 482.2 kB / 0.9094 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1496, allocations: 0 / 0.9094 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1496, allocations: 0 / 0.9094 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1496, allocations: 0 / 0.9094 GB, free: 13.32 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.0006134/0.1502, allocations: 0.7333 MB / 0.9101 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1503, allocations: 8.031 kB / 0.9101 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.1504, allocations: 88.86 kB / 0.9102 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.1508, allocations: 372.8 kB / 0.9106 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.1508, allocations: 37.31 kB / 0.9106 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.1508, allocations: 51.98 kB / 0.9106 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.1513, allocations: 0.5187 MB / 0.9111 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1513, allocations: 0 / 0.9111 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.1513, allocations: 24 kB / 0.9112 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.827e-05/0.1514, allocations: 31.92 kB / 0.9112 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.1516, allocations: 214.2 kB / 0.9114 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.1529, allocations: 2.716 MB / 0.9141 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1531, allocations: 0.5325 MB / 0.9146 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.463e-05/0.1532, allocations: 103.2 kB / 0.9147 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.1532, allocations: 8 kB / 0.9147 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1532, allocations: 38.5 kB / 0.9147 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1532, allocations: 0 / 0.9147 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0002451/0.1535, allocations: 117.3 kB / 0.9148 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/0.1535, allocations: 290.7 kB / 0.9151 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.1537, allocations: 251 kB / 0.9154 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1537, allocations: 34.95 kB / 0.9154 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.1538, allocations: 264.8 kB / 0.9156 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1538, allocations: 43.67 kB / 0.9157 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.1539, allocations: 33.64 kB / 0.9157 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.1539, allocations: 346.8 kB / 0.916 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.154, allocations: 6.828 kB / 0.916 GB, free: 5.973 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.038e-05/0.154, allocations: 178 kB / 0.9162 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.549e-05/0.1541, allocations: 75.2 kB / 0.9163 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1541, allocations: 7.938 kB / 0.9163 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.33e-05/0.1542, allocations: 96.78 kB / 0.9164 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1542, allocations: 7.938 kB / 0.9164 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1542, allocations: 4 kB / 0.9164 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1542, allocations: 0 / 0.9164 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1543, allocations: 35.97 kB / 0.9164 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.1543, allocations: 0 / 0.9164 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/0.1544, allocations: 8 kB / 0.9164 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1544, allocations: 8.188 kB / 0.9165 GB, free: 5.477 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.52e-05/0.1545, allocations: 128.5 kB / 0.9166 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.1546, allocations: 23.98 kB / 0.9166 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.1546, allocations: 24.98 kB / 0.9166 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1546, allocations: 4 kB / 0.9166 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1546, allocations: 4 kB / 0.9166 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1546, allocations: 3.984 kB / 0.9166 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007572/0.1554, allocations: 1.146 MB / 0.9178 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1554, allocations: 7.938 kB / 0.9178 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-05/0.1555, allocations: 36.03 kB / 0.9178 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1555, allocations: 0 / 0.9178 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.1555, allocations: 4 kB / 0.9178 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1555, allocations: 4 kB / 0.9178 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1555, allocations: 11.88 kB / 0.9178 GB, free: 4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.1556, allocations: 299.5 kB / 0.9181 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.1556, allocations: 27.81 kB / 0.9181 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1557, allocations: 7.984 kB / 0.9181 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.335e-05/0.1557, allocations: 8 kB / 0.9181 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.1557, allocations: 11.92 kB / 0.9181 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1557, allocations: 4 kB / 0.9182 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.962e-05/0.1558, allocations: 100.6 kB / 0.9182 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1558, allocations: 0 / 0.9182 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002294/0.156, allocations: 119.4 kB / 0.9184 GB, free: 3.379 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.0001267/0.1562, allocations: 104.3 kB / 0.9185 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.283e-05/0.1563, allocations: 52.7 kB / 0.9185 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1563, allocations: 4 kB / 0.9185 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.1563, allocations: 32.72 kB / 0.9185 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1566, allocations: 109.6 kB / 0.9187 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.1575, allocations: 0.8133 MB / 0.9194 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.121e-05/0.1576, allocations: 152.2 kB / 0.9196 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.914e-05/0.1576, allocations: 29.92 kB / 0.9196 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.1578, allocations: 119.3 kB / 0.9197 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of SimCode: time 9.41e-07/0.1578, allocations: 0 / 0.9197 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of Templates: time 0.005749/0.1635, allocations: 3.364 MB / 0.923 GB, free: 14.61 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 -s gbode -gbm=radauIIA3 -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.382442483212799]