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.001012/0.001012, allocations: 93.06 kB / 19.65 MB, free: 280 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.001408/0.001408, allocations: 169 kB / 23.02 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.9269/0.9269, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.005/2.005, allocations: 429.5 MB / 0.6732 GB, free: 4.074 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.823e-06/1.823e-06, allocations: 0 / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.03e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1289/0.1289, allocations: 146.3 MB / 1.021 GB, free: 3.516 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002597/0.1315, allocations: 2.546 MB / 1.024 GB, free: 0.9609 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.1317, allocations: 19.88 kB / 1.024 GB, free: 0.9414 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000438/0.1321, allocations: 115.1 kB / 1.024 GB, free: 0.8281 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0005497/0.1327, allocations: 314.2 kB / 1.024 GB, free: 0.5195 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.1335, allocations: 0.6733 MB / 1.025 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005437/0.1341, allocations: 0.6003 MB / 1.025 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.1343, allocations: 144.7 kB / 1.025 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.1347, allocations: 355 kB / 1.026 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1348, allocations: 139.5 kB / 1.026 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.1348, allocations: 16 kB / 1.026 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004207/0.1353, allocations: 430.9 kB / 1.026 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.1353, allocations: 83.73 kB / 1.026 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.148e-05/0.1354, allocations: 87.77 kB / 1.026 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.1359, allocations: 418.5 kB / 1.027 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1359, allocations: 0 / 1.027 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1359, allocations: 0 / 1.027 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1359, allocations: 0 / 1.027 GB, free: 13.6 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.0005945/0.1365, allocations: 0.6388 MB / 1.027 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1366, allocations: 8.031 kB / 1.027 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.1368, allocations: 76.59 kB / 1.028 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1371, allocations: 276.5 kB / 1.028 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1371, allocations: 12.38 kB / 1.028 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1371, allocations: 27.94 kB / 1.028 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.1373, allocations: 183 kB / 1.028 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1373, allocations: 0 / 1.028 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1374, allocations: 7.984 kB / 1.028 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1374, allocations: 4 kB / 1.028 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.1374, allocations: 47.91 kB / 1.028 GB, free: 12.24 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.0006381/0.1381, allocations: 0.7742 MB / 1.029 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1383, allocations: 54.98 kB / 1.029 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.1383, allocations: 35.73 kB / 1.029 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.622e-05/0.1384, allocations: 19.98 kB / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1384, allocations: 33.39 kB / 1.029 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1384, allocations: 0 / 1.029 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0002704/0.1387, allocations: 125.7 kB / 1.029 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.1387, allocations: 55.34 kB / 1.029 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1389, allocations: 322.3 kB / 1.029 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1389, allocations: 29.7 kB / 1.029 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.17e-05/0.139, allocations: 211.2 kB / 1.03 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.139, allocations: 35.69 kB / 1.03 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.1391, allocations: 55.36 kB / 1.03 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1392, allocations: 0.5078 MB / 1.03 GB, free: 9.863 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.9e-05/0.1392, allocations: 23.67 kB / 1.03 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1393, allocations: 288.3 kB / 1.031 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1395, allocations: 167.7 kB / 1.031 GB, free: 9.242 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1395, allocations: 4 kB / 1.031 GB, free: 9.238 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001744/0.1396, allocations: 169.3 kB / 1.031 GB, free: 9.066 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1397, allocations: 8 kB / 1.031 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1397, allocations: 4 kB / 1.031 GB, free: 9.055 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1397, allocations: 4 kB / 1.031 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.1398, allocations: 31.98 kB / 1.031 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1398, allocations: 7.938 kB / 1.031 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.1398, allocations: 27.83 kB / 1.031 GB, free: 8.984 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1399, allocations: 8 kB / 1.031 GB, free: 8.977 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.178e-05/0.1399, allocations: 150.8 kB / 1.031 GB, free: 8.824 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001141/0.1401, allocations: 290 kB / 1.031 GB, free: 8.449 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000103/0.1402, allocations: 167.7 kB / 1.032 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.1402, allocations: 4 kB / 1.032 GB, free: 8.227 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0001506/0.1403, allocations: 157.2 kB / 1.032 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.1403, allocations: 8 kB / 1.032 GB, free: 8.059 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.1403, allocations: 4 kB / 1.032 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-06/0.1403, allocations: 4 kB / 1.032 GB, free: 8.051 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.1404, allocations: 35.92 kB / 1.032 GB, free: 8.016 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.1404, allocations: 4.312 kB / 1.032 GB, free: 8.012 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.1405, allocations: 27.88 kB / 1.032 GB, free: 7.984 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1405, allocations: 8 kB / 1.032 GB, free: 7.977 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 7.958e-05/0.1405, allocations: 280 kB / 1.032 GB, free: 7.695 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.1406, allocations: 31.86 kB / 1.032 GB, free: 7.664 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.1407, allocations: 99.48 kB / 1.032 GB, free: 7.559 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1407, allocations: 0 / 1.032 GB, free: 7.559 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1407, allocations: 8.219 kB / 1.032 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1407, allocations: 0 / 1.032 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.1411, allocations: 0.5222 MB / 1.033 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1411, allocations: 4 kB / 1.033 GB, free: 6.953 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.1412, allocations: 23.92 kB / 1.033 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1412, allocations: 4 kB / 1.033 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1412, allocations: 7.938 kB / 1.033 GB, free: 6.918 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1412, allocations: 4 kB / 1.033 GB, free: 6.914 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1412, allocations: 0 / 1.033 GB, free: 6.914 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.1414, allocations: 301.9 kB / 1.033 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.1414, allocations: 31.84 kB / 1.033 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1414, allocations: 15.92 kB / 1.033 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.1415, allocations: 11.94 kB / 1.033 GB, free: 6.512 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1416, allocations: 11.98 kB / 1.033 GB, free: 6.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1416, allocations: 4 kB / 1.033 GB, free: 6.496 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001005/0.1417, allocations: 211 kB / 1.033 GB, free: 6.289 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1417, allocations: 0 / 1.033 GB, free: 6.289 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003084/0.142, allocations: 119.7 kB / 1.033 GB, free: 6.172 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.0001888/0.1422, allocations: 139.1 kB / 1.034 GB, free: 6.027 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.1424, allocations: 135.9 kB / 1.034 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1424, allocations: 0 / 1.034 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.1424, allocations: 43.86 kB / 1.034 GB, free: 5.84 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1428, allocations: 101.3 kB / 1.034 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.1435, allocations: 484.8 kB / 1.034 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.1435, allocations: 96.3 kB / 1.034 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.1436, allocations: 62.58 kB / 1.034 GB, free: 5.031 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.1437, allocations: 24.5 kB / 1.034 GB, free: 5.008 MB / 0.9948 GB Notification: Performance of SimCode: time 6.51e-07/0.1437, allocations: 0 / 1.034 GB, free: 5.008 MB / 0.9948 GB Notification: Performance of Templates: time 0.005869/0.1496, allocations: 4.182 MB / 1.039 GB, free: 0.9336 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.4291646759957075]