Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.0009712/0.0009712, 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.001055/0.001055, allocations: 169 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.9824/0.9824, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.059/2.059, allocations: 429.5 MB / 0.6733 GB, free: 4.008 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.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.469e-05, allocations: 4.531 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1289/0.1289, allocations: 147 MB / 1.022 GB, free: 2.812 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1309, allocations: 1.382 MB / 1.023 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.1311, allocations: 23.81 kB / 1.023 GB, free: 1.406 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.1316, allocations: 127 kB / 1.023 GB, free: 1.281 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009032/0.1325, allocations: 0.5167 MB / 1.024 GB, free: 0.7617 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.1331, allocations: 387.1 kB / 1.024 GB, free: 392 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0007442/0.1338, allocations: 0.8218 MB / 1.025 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.1342, allocations: 224.3 kB / 1.025 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005111/0.1347, allocations: 422.8 kB / 1.025 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.1349, allocations: 231.3 kB / 1.026 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.135, allocations: 32 kB / 1.026 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.1354, allocations: 307.2 kB / 1.026 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1355, allocations: 135.5 kB / 1.026 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.1357, allocations: 139.7 kB / 1.026 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005748/0.1362, allocations: 482.4 kB / 1.027 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1362, allocations: 0 / 1.027 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1362, allocations: 4 kB / 1.027 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.1362, allocations: 3.938 kB / 1.027 GB, free: 13.61 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001148/0.1374, allocations: 0.7329 MB / 1.027 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1374, allocations: 8.031 kB / 1.027 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007828/0.1382, allocations: 224.1 kB / 1.028 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.1386, allocations: 320 kB / 1.028 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.1387, allocations: 24.59 kB / 1.028 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.1387, allocations: 28 kB / 1.028 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.1392, allocations: 289.7 kB / 1.028 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1392, allocations: 0 / 1.028 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.1393, allocations: 12 kB / 1.028 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.1393, allocations: 16.66 kB / 1.028 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.1396, allocations: 155.8 kB / 1.028 GB, free: 11.73 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.001319/0.1409, allocations: 1.373 MB / 1.03 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.1412, allocations: 107.2 kB / 1.03 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1413, allocations: 59.7 kB / 1.03 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.1415, allocations: 55.88 kB / 1.03 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1415, allocations: 41.39 kB / 1.03 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.1415, allocations: 0 / 1.03 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0004677/0.142, allocations: 203.5 kB / 1.03 GB, free: 9.809 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.142, allocations: 63.34 kB / 1.03 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.1422, allocations: 306.3 kB / 1.031 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1422, allocations: 29.7 kB / 1.031 GB, free: 9.383 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.1424, allocations: 251.2 kB / 1.031 GB, free: 9.133 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.1424, allocations: 75.31 kB / 1.031 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.1425, allocations: 55.36 kB / 1.031 GB, free: 8.996 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1426, allocations: 0.5079 MB / 1.032 GB, free: 8.477 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.521e-05/0.1427, allocations: 31.92 kB / 1.032 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1429, allocations: 184 kB / 1.032 GB, free: 8.219 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.143, allocations: 147.7 kB / 1.032 GB, free: 8.047 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.143, allocations: 0 / 1.032 GB, free: 8.047 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002932/0.1433, allocations: 185.3 kB / 1.032 GB, free: 7.859 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1434, allocations: 8.188 kB / 1.032 GB, free: 7.852 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1434, allocations: 0 / 1.032 GB, free: 7.852 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1434, allocations: 7.938 kB / 1.032 GB, free: 7.844 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.1436, allocations: 47.92 kB / 1.032 GB, free: 7.797 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1436, allocations: 7.984 kB / 1.032 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1437, allocations: 23.83 kB / 1.032 GB, free: 7.766 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.1437, allocations: 8 kB / 1.032 GB, free: 7.758 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0001022/0.1438, allocations: 168.6 kB / 1.032 GB, free: 7.582 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.1439, allocations: 35.81 kB / 1.032 GB, free: 7.547 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.1441, allocations: 177.8 kB / 1.033 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1442, allocations: 3.938 kB / 1.033 GB, free: 7.363 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1442, allocations: 0 / 1.033 GB, free: 7.363 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1442, allocations: 3.984 kB / 1.033 GB, free: 7.359 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007762/0.1449, allocations: 0.6811 MB / 1.033 GB, free: 6.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1449, allocations: 4 kB / 1.033 GB, free: 6.586 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.1451, allocations: 35.92 kB / 1.033 GB, free: 6.551 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1451, allocations: 4 kB / 1.033 GB, free: 6.547 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.1451, allocations: 8 kB / 1.033 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1451, allocations: 11.92 kB / 1.033 GB, free: 6.527 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1451, allocations: 7.938 kB / 1.033 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.1454, allocations: 408.3 kB / 1.034 GB, free: 6.055 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.1455, allocations: 47.73 kB / 1.034 GB, free: 6.008 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.1455, allocations: 11.98 kB / 1.034 GB, free: 5.996 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1457, allocations: 12 kB / 1.034 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.1457, allocations: 27.84 kB / 1.034 GB, free: 5.957 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1457, allocations: 8 kB / 1.034 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001318/0.1459, allocations: 211 kB / 1.034 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1459, allocations: 0 / 1.034 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003887/0.1463, allocations: 107.8 kB / 1.034 GB, free: 5.637 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.0002004/0.1465, allocations: 131.2 kB / 1.034 GB, free: 5.496 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.1467, allocations: 121.5 kB / 1.034 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1467, allocations: 0 / 1.034 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1468, allocations: 72.47 kB / 1.034 GB, free: 5.301 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.1475, allocations: 150.8 kB / 1.035 GB, free: 5.156 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1485, allocations: 0.628 MB / 1.035 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.442e-05/0.1486, allocations: 100.6 kB / 1.035 GB, free: 4.336 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.1488, allocations: 66.92 kB / 1.035 GB, free: 4.27 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.1489, allocations: 24.5 kB / 1.035 GB, free: 4.246 MB / 0.9948 GB Notification: Performance of SimCode: time 6.01e-07/0.1489, allocations: 0 / 1.035 GB, free: 4.246 MB / 0.9948 GB Notification: Performance of Templates: time 0.008167/0.157, allocations: 5.291 MB / 1.04 GB, free: 15.11 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.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.569927324075252]