Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009504/0.0009504, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.0009691/0.0009691, allocations: 168.6 kB / 24.87 MB, free: 9.227 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 1.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.868/1.868, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8127 GB, free: 340 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.934e-05, allocations: 2.312 kB / 0.8128 GB, free: 336 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1271/0.1271, allocations: 144.3 MB / 0.9536 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1289, allocations: 1.401 MB / 0.955 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.1291, allocations: 19.81 kB / 0.955 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004368/0.1295, allocations: 127.1 kB / 0.9551 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008505/0.1304, allocations: 0.5205 MB / 0.9557 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.131, allocations: 399 kB / 0.956 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0006622/0.1317, allocations: 0.8376 MB / 0.9569 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.132, allocations: 231.9 kB / 0.9571 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007057/0.1327, allocations: 438.8 kB / 0.9575 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.1329, allocations: 231.3 kB / 0.9577 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.133, allocations: 32 kB / 0.9577 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.1334, allocations: 307.2 kB / 0.958 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1335, allocations: 135.5 kB / 0.9582 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1336, allocations: 135.7 kB / 0.9583 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.1341, allocations: 490.4 kB / 0.9588 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1341, allocations: 0 / 0.9588 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.71e-07/0.1341, allocations: 0 / 0.9588 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.1341, allocations: 0 / 0.9588 GB, free: 10.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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009206/0.135, allocations: 0.7483 MB / 0.9595 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1351, allocations: 8.031 kB / 0.9595 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005912/0.1357, allocations: 216.1 kB / 0.9597 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.136, allocations: 331.7 kB / 0.96 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.136, allocations: 20.59 kB / 0.96 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.1361, allocations: 28 kB / 0.9601 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.1364, allocations: 277.6 kB / 0.9603 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1364, allocations: 0 / 0.9603 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.1364, allocations: 11.98 kB / 0.9603 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.1364, allocations: 16.66 kB / 0.9604 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.1366, allocations: 127.1 kB / 0.9605 GB, free: 8.465 MB / 0.8698 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.001035/0.1376, allocations: 1.303 MB / 0.9618 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.1378, allocations: 97.05 kB / 0.9619 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.1378, allocations: 59.69 kB / 0.9619 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.138, allocations: 47.94 kB / 0.962 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.138, allocations: 37.39 kB / 0.962 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.138, allocations: 3.938 kB / 0.962 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0003329/0.1384, allocations: 185.3 kB / 0.9622 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.1384, allocations: 55.41 kB / 0.9622 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1386, allocations: 310.1 kB / 0.9625 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1386, allocations: 29.7 kB / 0.9625 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1387, allocations: 259.1 kB / 0.9628 GB, free: 5.973 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.1387, allocations: 75.38 kB / 0.9629 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.1388, allocations: 51.34 kB / 0.9629 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1389, allocations: 0.5079 MB / 0.9634 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.139, allocations: 23.97 kB / 0.9634 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1391, allocations: 191 kB / 0.9636 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1392, allocations: 139.8 kB / 0.9637 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1392, allocations: 0 / 0.9637 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002033/0.1394, allocations: 176 kB / 0.9639 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1394, allocations: 4 kB / 0.9639 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1394, allocations: 4 kB / 0.9639 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1394, allocations: 4 kB / 0.9639 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1396, allocations: 39.97 kB / 0.964 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1396, allocations: 15.86 kB / 0.964 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.106e-05/0.1397, allocations: 19.89 kB / 0.964 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1397, allocations: 15.98 kB / 0.964 GB, free: 4.625 MB / 0.8698 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 9.079e-05/0.1398, allocations: 164.5 kB / 0.9642 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1398, allocations: 39.91 kB / 0.9642 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000435/0.1403, allocations: 163.8 kB / 0.9644 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1403, allocations: 4 kB / 0.9644 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1403, allocations: 3.938 kB / 0.9644 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1403, allocations: 3.984 kB / 0.9644 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.1408, allocations: 0.6112 MB / 0.965 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1409, allocations: 4 kB / 0.965 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.1409, allocations: 43.92 kB / 0.965 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.141, allocations: 8.031 kB / 0.965 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.141, allocations: 7.984 kB / 0.965 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.141, allocations: 7.938 kB / 0.965 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.141, allocations: 0 / 0.965 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1412, allocations: 412.4 kB / 0.9654 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.1413, allocations: 47.77 kB / 0.9655 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1413, allocations: 4 kB / 0.9655 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.1414, allocations: 12 kB / 0.9655 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.1414, allocations: 27.84 kB / 0.9655 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.1414, allocations: 4 kB / 0.9655 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.47e-05/0.1415, allocations: 203 kB / 0.9657 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1415, allocations: 0 / 0.9657 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002913/0.1418, allocations: 115.7 kB / 0.9658 GB, free: 2.602 MB / 0.8698 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.0001778/0.142, allocations: 139.1 kB / 0.966 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.1422, allocations: 106 kB / 0.9661 GB, free: 2.352 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1422, allocations: 4 kB / 0.9661 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.1422, allocations: 68.28 kB / 0.9661 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.1427, allocations: 159.8 kB / 0.9663 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008348/0.1436, allocations: 0.6317 MB / 0.9669 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.342e-05/0.1436, allocations: 100.6 kB / 0.967 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.1438, allocations: 46.97 kB / 0.967 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.1441, allocations: 178.1 kB / 0.9672 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/0.1441, allocations: 0 / 0.9672 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of Templates: time 0.008147/0.1523, allocations: 6.132 MB / 0.9732 GB, free: 11.13 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.360403080005199]