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.00155/0.00155, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001506/0.001506, allocations: 173 kB / 23.02 MB, free: 1.547 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.9532/0.9532, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.031/2.031, allocations: 429.5 MB / 0.6733 GB, free: 4.02 MB / 0.6355 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.382e-06/1.382e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.306e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1325/0.1325, allocations: 147.6 MB / 1.022 GB, free: 2.184 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1345, allocations: 1.285 MB / 1.024 GB, free: 0.8984 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.135, allocations: 31.75 kB / 1.024 GB, free: 0.8672 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.1354, allocations: 170.6 kB / 1.024 GB, free: 0.6992 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007403/0.1361, allocations: 290.3 kB / 1.024 GB, free: 424 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.1368, allocations: 415.1 kB / 1.024 GB, free: 8 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0009434/0.1378, allocations: 1.074 MB / 1.026 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004812/0.1383, allocations: 396.5 kB / 1.026 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009653/0.1392, allocations: 0.6892 MB / 1.027 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.1395, allocations: 307 kB / 1.027 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.1396, allocations: 44 kB / 1.027 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1397, allocations: 83.94 kB / 1.027 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.1399, allocations: 279.2 kB / 1.027 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1401, allocations: 187.5 kB / 1.027 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.1405, allocations: 486.2 kB / 1.028 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1405, allocations: 0 / 1.028 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1405, allocations: 0 / 1.028 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1405, allocations: 0 / 1.028 GB, free: 12.49 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.0007028/0.1412, allocations: 0.8423 MB / 1.029 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1413, allocations: 12.03 kB / 1.029 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1414, allocations: 112.5 kB / 1.029 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.1418, allocations: 394.2 kB / 1.029 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.1418, allocations: 41.31 kB / 1.029 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.1418, allocations: 51.98 kB / 1.029 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.1424, allocations: 0.6045 MB / 1.03 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1424, allocations: 3.938 kB / 1.03 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.1425, allocations: 23.98 kB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.059e-05/0.1425, allocations: 31.98 kB / 1.03 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.1428, allocations: 179.5 kB / 1.03 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.1452, allocations: 4.026 MB / 1.034 GB, free: 5.84 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.1454, allocations: 274.9 kB / 1.034 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.1455, allocations: 117.2 kB / 1.034 GB, free: 5.289 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.1455, allocations: 4 kB / 1.034 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1455, allocations: 45.33 kB / 1.034 GB, free: 5.23 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 2.305e-06/0.1455, allocations: 7.938 kB / 1.034 GB, free: 5.223 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0003381/0.1459, allocations: 129.9 kB / 1.035 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.146, allocations: 294.7 kB / 1.035 GB, free: 4.734 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1462, allocations: 306.3 kB / 1.035 GB, free: 4.418 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1462, allocations: 25.7 kB / 1.035 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1463, allocations: 346.9 kB / 1.036 GB, free: 4.043 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.1464, allocations: 39.67 kB / 1.036 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.1464, allocations: 39.36 kB / 1.036 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1466, allocations: 0.5123 MB / 1.036 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.1466, allocations: 8 kB / 1.036 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1467, allocations: 206.5 kB / 1.036 GB, free: 3.168 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.209e-05/0.1468, allocations: 78.06 kB / 1.036 GB, free: 3.066 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1468, allocations: 4 kB / 1.036 GB, free: 3.062 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001175/0.1469, allocations: 109.4 kB / 1.036 GB, free: 2.949 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1469, allocations: 4 kB / 1.036 GB, free: 2.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.147, allocations: 4 kB / 1.036 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.147, allocations: 0 / 1.036 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1471, allocations: 27.92 kB / 1.037 GB, free: 2.914 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1471, allocations: 4 kB / 1.037 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.1472, allocations: 7.984 kB / 1.037 GB, free: 2.902 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.1472, allocations: 12 kB / 1.037 GB, free: 2.891 MB / 0.9948 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.0001154/0.1473, allocations: 168.7 kB / 1.037 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1474, allocations: 35.78 kB / 1.037 GB, free: 2.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.1475, allocations: 28.92 kB / 1.037 GB, free: 2.648 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1475, allocations: 4 kB / 1.037 GB, free: 2.645 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1475, allocations: 4.062 kB / 1.037 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1475, allocations: 8 kB / 1.037 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.149, allocations: 1.574 MB / 1.038 GB, free: 0.9727 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.149, allocations: 4.031 kB / 1.038 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.1491, allocations: 39.91 kB / 1.038 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1491, allocations: 4 kB / 1.038 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1491, allocations: 7.938 kB / 1.038 GB, free: 0.918 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1491, allocations: 0 / 1.038 GB, free: 0.918 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1491, allocations: 4 kB / 1.038 GB, free: 0.9141 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.1493, allocations: 324.8 kB / 1.039 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.1493, allocations: 27.86 kB / 1.039 GB, free: 0.5117 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1493, allocations: 19.86 kB / 1.039 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.1494, allocations: 4 kB / 1.039 GB, free: 500 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1494, allocations: 11.98 kB / 1.039 GB, free: 488 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1495, allocations: 8 kB / 1.039 GB, free: 480 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001138/0.1496, allocations: 211 kB / 1.039 GB, free: 268 kB / 0.9948 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1496, allocations: 0 / 1.039 GB, free: 268 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002676/0.1498, allocations: 119.4 kB / 1.039 GB, free: 148 kB / 0.9948 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.0001934/0.15, allocations: 127.1 kB / 1.039 GB, free: 12 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1502, allocations: 59.55 kB / 1.039 GB, free: 15.95 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1502, allocations: 0 / 1.039 GB, free: 15.95 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.1502, allocations: 39.55 kB / 1.039 GB, free: 15.91 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1506, allocations: 82.03 kB / 1.039 GB, free: 15.83 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.1517, allocations: 0.8136 MB / 1.04 GB, free: 14.94 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.825e-05/0.1518, allocations: 152.2 kB / 1.04 GB, free: 14.77 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.208e-05/0.1519, allocations: 49.88 kB / 1.04 GB, free: 14.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.1519, allocations: 24.5 kB / 1.04 GB, free: 14.7 MB / 1.01 GB Notification: Performance of SimCode: time 9.82e-07/0.1519, allocations: 0 / 1.04 GB, free: 14.7 MB / 1.01 GB Notification: Performance of Templates: time 0.005691/0.1576, allocations: 3.064 MB / 1.043 GB, free: 11.71 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.9087461582385]