Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.00101/0.00101, allocations: 93.06 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.001082/0.001082, allocations: 165 kB / 23.01 MB, free: 1.551 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.9661/0.9661, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.136/2.136, allocations: 429.5 MB / 0.6733 GB, free: 4.035 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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.464e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1332/0.1332, allocations: 146.3 MB / 1.021 GB, free: 3.484 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003968/0.1372, allocations: 2.543 MB / 1.024 GB, free: 0.9336 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.1376, allocations: 19.81 kB / 1.024 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.1381, allocations: 115.1 kB / 1.024 GB, free: 0.8008 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007948/0.1389, allocations: 318.2 kB / 1.024 GB, free: 500 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.1404, allocations: 0.6772 MB / 1.025 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007145/0.1412, allocations: 0.5963 MB / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.1414, allocations: 148.7 kB / 1.025 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004831/0.1419, allocations: 335 kB / 1.026 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.1421, allocations: 147.5 kB / 1.026 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.1421, allocations: 12 kB / 1.026 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006718/0.1428, allocations: 454.9 kB / 1.026 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.896e-05/0.1429, allocations: 83.67 kB / 1.026 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.143, allocations: 87.77 kB / 1.026 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006164/0.1436, allocations: 426.5 kB / 1.027 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1436, allocations: 0 / 1.027 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1436, allocations: 0 / 1.027 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.1436, allocations: 4 kB / 1.027 GB, free: 13.55 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007434/0.1444, allocations: 0.6427 MB / 1.027 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1444, allocations: 8.031 kB / 1.027 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.1448, allocations: 76.59 kB / 1.028 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.1451, allocations: 272.5 kB / 1.028 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1451, allocations: 12.38 kB / 1.028 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.1452, allocations: 27.94 kB / 1.028 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.1455, allocations: 191 kB / 1.028 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1455, allocations: 0 / 1.028 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1455, allocations: 4 kB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1455, allocations: 4 kB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1456, allocations: 43.91 kB / 1.028 GB, free: 12.19 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/0.1464, allocations: 0.7859 MB / 1.029 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.1466, allocations: 43.06 kB / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.1466, allocations: 39.67 kB / 1.029 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.1467, allocations: 15.98 kB / 1.029 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1468, allocations: 37.39 kB / 1.029 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1468, allocations: 0 / 1.029 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0003614/0.1471, allocations: 129.5 kB / 1.029 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.1472, allocations: 51.41 kB / 1.029 GB, free: 11 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1474, allocations: 314.2 kB / 1.029 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1474, allocations: 25.7 kB / 1.029 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1475, allocations: 211.3 kB / 1.03 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1476, allocations: 31.7 kB / 1.03 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.1476, allocations: 51.36 kB / 1.03 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003985/0.148, allocations: 0.5117 MB / 1.03 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.1481, allocations: 27.61 kB / 1.03 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.1482, allocations: 288.2 kB / 1.031 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1484, allocations: 175.7 kB / 1.031 GB, free: 9.188 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1484, allocations: 0 / 1.031 GB, free: 9.188 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002414/0.1487, allocations: 161.3 kB / 1.031 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1487, allocations: 8 kB / 1.031 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1487, allocations: 0 / 1.031 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1487, allocations: 4 kB / 1.031 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1488, allocations: 39.91 kB / 1.031 GB, free: 8.973 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1488, allocations: 8 kB / 1.031 GB, free: 8.965 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.149, allocations: 24.16 kB / 1.031 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.149, allocations: 16 kB / 1.031 GB, free: 8.926 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.904e-05/0.1491, allocations: 150.8 kB / 1.031 GB, free: 8.773 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001592/0.1492, allocations: 293.7 kB / 1.031 GB, free: 8.395 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000147/0.1494, allocations: 167.7 kB / 1.032 GB, free: 8.176 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.1494, allocations: 4 kB / 1.032 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0002202/0.1496, allocations: 153.5 kB / 1.032 GB, free: 8.016 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.1496, allocations: 8 kB / 1.032 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1496, allocations: 0 / 1.032 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.1496, allocations: 8.25 kB / 1.032 GB, free: 8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1497, allocations: 39.98 kB / 1.032 GB, free: 7.961 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1497, allocations: 11.92 kB / 1.032 GB, free: 7.949 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1498, allocations: 15.95 kB / 1.032 GB, free: 7.934 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1498, allocations: 12 kB / 1.032 GB, free: 7.922 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (19): * Single equations (assignments): 19 * 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.0001072/0.15, allocations: 280 kB / 1.032 GB, free: 7.641 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.15, allocations: 27.8 kB / 1.032 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.1502, allocations: 103.8 kB / 1.032 GB, free: 7.504 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1502, allocations: 0 / 1.032 GB, free: 7.504 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1502, allocations: 0 / 1.032 GB, free: 7.504 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1502, allocations: 4 kB / 1.032 GB, free: 7.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.1508, allocations: 0.5224 MB / 1.033 GB, free: 6.906 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1508, allocations: 4 kB / 1.033 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.1508, allocations: 19.98 kB / 1.033 GB, free: 6.883 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1508, allocations: 0 / 1.033 GB, free: 6.883 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1508, allocations: 7.938 kB / 1.033 GB, free: 6.875 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1509, allocations: 16.09 kB / 1.033 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1509, allocations: 0 / 1.033 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.1511, allocations: 305.5 kB / 1.033 GB, free: 6.512 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.1511, allocations: 31.84 kB / 1.033 GB, free: 6.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1512, allocations: 7.938 kB / 1.033 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1513, allocations: 4 kB / 1.033 GB, free: 6.469 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.1513, allocations: 15.97 kB / 1.033 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.1513, allocations: 11.94 kB / 1.033 GB, free: 6.441 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001396/0.1515, allocations: 207 kB / 1.033 GB, free: 6.238 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.2e-07/0.1515, allocations: 4 kB / 1.033 GB, free: 6.234 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005028/0.152, allocations: 119.7 kB / 1.033 GB, free: 6.117 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0002363/0.1522, allocations: 135.1 kB / 1.034 GB, free: 5.977 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002641/0.1525, allocations: 144.1 kB / 1.034 GB, free: 5.828 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1525, allocations: 0 / 1.034 GB, free: 5.828 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.483e-05/0.1525, allocations: 39.55 kB / 1.034 GB, free: 5.785 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.1531, allocations: 100.5 kB / 1.034 GB, free: 5.691 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009478/0.154, allocations: 484.8 kB / 1.034 GB, free: 5.156 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.097e-05/0.1541, allocations: 88.31 kB / 1.034 GB, free: 5.051 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000169/0.1542, allocations: 65.86 kB / 1.034 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.1543, allocations: 24.5 kB / 1.034 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of SimCode: time 7.72e-07/0.1543, allocations: 0 / 1.034 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of Templates: time 0.007498/0.1618, allocations: 3.848 MB / 1.038 GB, free: 1.219 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.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.709555983077735]