Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009615/0.0009615, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00101/0.00101, allocations: 169 kB / 23.27 MB, free: 1.223 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.9098/0.9098, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.21/2.21, allocations: 438.1 MB / 0.682 GB, free: 14.21 MB / 0.6511 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.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8898 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.72e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002132/0.002149, allocations: 1.708 MB / 0.8914 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.003712, allocations: 1.718 MB / 0.8931 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.003783, allocations: 4 kB / 0.8931 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.00417, allocations: 63.56 kB / 0.8932 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.00435, allocations: 107.5 kB / 0.8933 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.004454, allocations: 71.62 kB / 0.8934 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.004619, allocations: 183.6 kB / 0.8935 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.603e-05/0.004645, allocations: 4 kB / 0.8935 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02598/0.03063, allocations: 10.89 MB / 0.9042 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.943e-05/0.03073, allocations: 59.86 kB / 0.9042 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.03075, allocations: 8 kB / 0.9042 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.03086, allocations: 55.91 kB / 0.9043 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.03091, allocations: 43.84 kB / 0.9043 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.03095, allocations: 39.91 kB / 0.9044 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.03117, allocations: 159.3 kB / 0.9045 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.03118, allocations: 4 kB / 0.9045 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.072e-06/0.03118, allocations: 0 / 0.9045 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.03118, allocations: 0 / 0.9045 GB, free: 14.31 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004076/0.03159, allocations: 0.4995 MB / 0.905 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.03162, allocations: 8.031 kB / 0.905 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.03166, allocations: 28.84 kB / 0.905 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.03183, allocations: 189.2 kB / 0.9052 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.03184, allocations: 4.375 kB / 0.9052 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.03185, allocations: 8.375 kB / 0.9052 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.03197, allocations: 94.83 kB / 0.9053 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.03198, allocations: 7.922 kB / 0.9053 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.03199, allocations: 0 / 0.9053 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.03199, allocations: 7.984 kB / 0.9053 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.883e-05/0.03208, allocations: 87.86 kB / 0.9054 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.0322, allocations: 149.1 kB / 0.9056 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.03242, allocations: 163 kB / 0.9057 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.03245, allocations: 31.67 kB / 0.9058 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.03247, allocations: 4 kB / 0.9058 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.03257, allocations: 93 kB / 0.9058 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.03257, allocations: 0 / 0.9058 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0002287/0.0328, allocations: 177.2 kB / 0.906 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.03282, allocations: 51.41 kB / 0.9061 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.03294, allocations: 250.9 kB / 0.9063 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.03296, allocations: 33.64 kB / 0.9063 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.03301, allocations: 166.8 kB / 0.9065 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.03305, allocations: 43.67 kB / 0.9065 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.03308, allocations: 39.36 kB / 0.9066 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.03319, allocations: 0.5157 MB / 0.9071 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.03322, allocations: 15.98 kB / 0.9071 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.03326, allocations: 42.03 kB / 0.9071 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.118e-05/0.03333, allocations: 71.28 kB / 0.9072 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.03333, allocations: 0 / 0.9072 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001398/0.03347, allocations: 153.5 kB / 0.9074 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.03348, allocations: 4 kB / 0.9074 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.03348, allocations: 0 / 0.9074 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.0335, allocations: 7.938 kB / 0.9074 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.201e-05/0.03357, allocations: 32.02 kB / 0.9074 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.03357, allocations: 0 / 0.9074 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.0336, allocations: 11.89 kB / 0.9074 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.03361, allocations: 4 kB / 0.9074 GB, free: 11.14 MB / 0.8698 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 7.765e-05/0.03369, allocations: 168.5 kB / 0.9076 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.03371, allocations: 23.91 kB / 0.9076 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.03392, allocations: 210.9 kB / 0.9078 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.03392, allocations: 0 / 0.9078 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.03392, allocations: 7.938 kB / 0.9078 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.03393, allocations: 4 kB / 0.9078 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.03404, allocations: 161.1 kB / 0.908 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.03404, allocations: 0 / 0.908 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.0341, allocations: 35.92 kB / 0.908 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.0341, allocations: 7.938 kB / 0.908 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.03411, allocations: 4 kB / 0.908 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.03411, allocations: 4 kB / 0.908 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.03411, allocations: 0 / 0.908 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.03428, allocations: 224.3 kB / 0.9082 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.0343, allocations: 19.8 kB / 0.9082 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.03432, allocations: 12 kB / 0.9083 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.836e-05/0.03434, allocations: 11.98 kB / 0.9083 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.03437, allocations: 11.97 kB / 0.9083 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.03438, allocations: 19.88 kB / 0.9083 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.616e-05/0.03445, allocations: 179.2 kB / 0.9085 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.03445, allocations: 0 / 0.9085 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001439/0.03459, allocations: 28 kB / 0.9085 GB, free: 9.961 MB / 0.8698 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.0006951/0.03529, allocations: 400.3 kB / 0.9089 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.03541, allocations: 83.58 kB / 0.909 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.03541, allocations: 0 / 0.909 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.846e-05/0.03547, allocations: 63.58 kB / 0.909 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.03566, allocations: 58.86 kB / 0.9091 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.03603, allocations: 310.8 kB / 0.9094 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.488e-05/0.03607, allocations: 79.98 kB / 0.9094 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.229e-05/0.03614, allocations: 41.91 kB / 0.9095 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.03624, allocations: 118.1 kB / 0.9096 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/0.03625, allocations: 0 / 0.9096 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of Templates: time 0.004672/0.04092, allocations: 3.07 MB / 0.9126 GB, free: 5.848 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.952807201072574]