Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.001339/0.001339, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001529/0.001529, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9321/0.9321, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.803/1.803, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.61e-05, allocations: 2.812 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002013/0.002029, allocations: 1.717 MB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.003722, allocations: 1.751 MB / 0.7634 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.003783, allocations: 0.8438 kB / 0.7634 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.004153, allocations: 61.86 kB / 0.7635 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.004358, allocations: 102.4 kB / 0.7636 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.004497, allocations: 77.45 kB / 0.7636 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.004668, allocations: 178.1 kB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.004703, allocations: 11.97 kB / 0.7638 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.004831, allocations: 83.81 kB / 0.7639 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.88e-05/0.00491, allocations: 63.84 kB / 0.764 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.004929, allocations: 16.5 kB / 0.764 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.005062, allocations: 112.4 kB / 0.7641 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.005116, allocations: 51.83 kB / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.005154, allocations: 37.98 kB / 0.7642 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.005377, allocations: 223.2 kB / 0.7644 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005379, allocations: 0 / 0.7644 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005379, allocations: 0 / 0.7644 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.005382, allocations: 0 / 0.7644 GB, free: 2.188 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003715/0.005754, allocations: 388.4 kB / 0.7648 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.619e-05/0.00578, allocations: 8.031 kB / 0.7648 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.005822, allocations: 25.61 kB / 0.7648 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.005987, allocations: 174.3 kB / 0.765 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.006002, allocations: 9.094 kB / 0.765 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.006016, allocations: 4.375 kB / 0.765 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.006154, allocations: 139.3 kB / 0.7651 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.00616, allocations: 3.938 kB / 0.7651 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.006169, allocations: 4 kB / 0.7651 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.006174, allocations: 4 kB / 0.7651 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.17e-05/0.006266, allocations: 86.62 kB / 0.7652 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.006368, allocations: 92.22 kB / 0.7653 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.006582, allocations: 145.3 kB / 0.7654 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.006614, allocations: 24.84 kB / 0.7654 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.006626, allocations: 5.297 kB / 0.7655 GB, free: 1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.62e-05/0.006722, allocations: 94.11 kB / 0.7655 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 9.11e-07/0.006723, allocations: 0 / 0.7655 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0001514/0.006874, allocations: 102.4 kB / 0.7656 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.006907, allocations: 81.05 kB / 0.7657 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.007029, allocations: 212 kB / 0.7659 GB, free: 484 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.007045, allocations: 30.61 kB / 0.766 GB, free: 448 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.007074, allocations: 100.1 kB / 0.766 GB, free: 344 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.007111, allocations: 50.44 kB / 0.7661 GB, free: 296 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.007147, allocations: 33.69 kB / 0.7661 GB, free: 256 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.00723, allocations: 326.8 kB / 0.7664 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.007259, allocations: 22.81 kB / 0.7665 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/0.007303, allocations: 68.19 kB / 0.7665 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.623e-05/0.007369, allocations: 63.34 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00737, allocations: 0 / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.931e-05/0.00747, allocations: 95.17 kB / 0.7667 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.00748, allocations: 8 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.007483, allocations: 0 / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.007494, allocations: 0 / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.007567, allocations: 31.92 kB / 0.7667 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.00757, allocations: 0 / 0.7667 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.007606, allocations: 20.75 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.007613, allocations: 0 / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.797e-05/0.007681, allocations: 122.4 kB / 0.7669 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.0077, allocations: 15.98 kB / 0.7669 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.007864, allocations: 147.9 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007866, allocations: 4 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.007868, allocations: 0.5312 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007871, allocations: 0 / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.007981, allocations: 133.1 kB / 0.7671 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007983, allocations: 0 / 0.7671 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.00804, allocations: 35.86 kB / 0.7672 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.008041, allocations: 0 / 0.7672 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.008051, allocations: 11.98 kB / 0.7672 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.008052, allocations: 0 / 0.7672 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008053, allocations: 0 / 0.7672 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.008167, allocations: 145.1 kB / 0.7673 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.008189, allocations: 27.72 kB / 0.7673 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.008212, allocations: 14.88 kB / 0.7674 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.815e-05/0.00824, allocations: 8 kB / 0.7674 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.008266, allocations: 11.97 kB / 0.7674 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.008278, allocations: 4 kB / 0.7674 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.816e-05/0.008336, allocations: 76.78 kB / 0.7675 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008336, allocations: 0 / 0.7675 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001629/0.008499, allocations: 59.86 kB / 0.7675 GB, free: 14.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001346/0.009845, allocations: 0.6377 MB / 0.7681 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.009964, allocations: 81.69 kB / 0.7682 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.009968, allocations: 0 / 0.7682 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.351e-05/0.01002, allocations: 61.3 kB / 0.7683 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.01015, allocations: 49.38 kB / 0.7683 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.0105, allocations: 300.1 kB / 0.7686 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.01054, allocations: 88.42 kB / 0.7687 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.852e-05/0.0106, allocations: 33.45 kB / 0.7687 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.01071, allocations: 88.19 kB / 0.7688 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.01071, allocations: 0 / 0.7688 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.005013/0.01572, allocations: 3.786 MB / 0.7725 GB, free: 10.07 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.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: 4.739438300952315]