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.0009583/0.0009583, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001088/0.001088, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9374/0.9374, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.799/1.799, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.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.192e-06/1.192e-06, allocations: 0 / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.691e-05, allocations: 5.859 kB / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001936/0.001953, allocations: 1.711 MB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.003531, allocations: 1.728 MB / 0.8149 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.003595, allocations: 0.6875 kB / 0.8149 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.00401, allocations: 63.62 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.004223, allocations: 104.3 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.004353, allocations: 71.67 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.004532, allocations: 184.1 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.004565, allocations: 4.875 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.004706, allocations: 87.8 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.004786, allocations: 59.86 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.004808, allocations: 13.25 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.004962, allocations: 119.7 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.005025, allocations: 47.84 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.005075, allocations: 45.41 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.00533, allocations: 219.2 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005331, allocations: 4 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.72e-07/0.005332, allocations: 0 / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.005336, allocations: 1.406 kB / 0.8159 GB, free: 13.28 MB / 0.7761 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.000488/0.005824, allocations: 0.5071 MB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.005858, allocations: 8.031 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.005916, allocations: 28.8 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.006117, allocations: 191 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.006132, allocations: 384 / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.006148, allocations: 12.38 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.006434, allocations: 143.9 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.006441, allocations: 5.438 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.006453, allocations: 8 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006458, allocations: 0 / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.006611, allocations: 131.7 kB / 0.8169 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.006782, allocations: 185.1 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.007091, allocations: 188 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.007141, allocations: 31.67 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.007154, allocations: 4.625 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.007278, allocations: 107 kB / 0.8174 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 9.41e-07/0.007279, allocations: 3.938 kB / 0.8174 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002937/0.007572, allocations: 179 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.007609, allocations: 81.11 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.007773, allocations: 269.6 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.007791, allocations: 34.22 kB / 0.8179 GB, free: 11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.007858, allocations: 162.9 kB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.0079, allocations: 44.36 kB / 0.8181 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.007942, allocations: 39.36 kB / 0.8182 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.008053, allocations: 0.5053 MB / 0.8187 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.008096, allocations: 23.98 kB / 0.8187 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.00816, allocations: 84.73 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.008261, allocations: 88.3 kB / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008263, allocations: 0 / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001769/0.00844, allocations: 161.5 kB / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.008452, allocations: 8.719 kB / 0.819 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.008458, allocations: 7.922 kB / 0.819 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.00847, allocations: 4.688 kB / 0.819 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.65e-05/0.008557, allocations: 23.98 kB / 0.8191 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.008562, allocations: 1.25 kB / 0.8191 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.008606, allocations: 15.89 kB / 0.8191 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.008614, allocations: 4 kB / 0.8191 GB, free: 9.789 MB / 0.7761 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.475e-05/0.008689, allocations: 165.3 kB / 0.8192 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.008716, allocations: 24.83 kB / 0.8193 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.008978, allocations: 223 kB / 0.8195 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.008981, allocations: 5.281 kB / 0.8195 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.008983, allocations: 0 / 0.8195 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.008989, allocations: 11.98 kB / 0.8195 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.009118, allocations: 192.5 kB / 0.8197 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.00912, allocations: 0.9062 kB / 0.8197 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.362e-05/0.009203, allocations: 31.92 kB / 0.8197 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.009207, allocations: 6.312 kB / 0.8197 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.009217, allocations: 4 kB / 0.8197 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.009219, allocations: 4 kB / 0.8197 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.009221, allocations: 3.938 kB / 0.8197 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.009432, allocations: 237.9 kB / 0.8199 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.009454, allocations: 19.84 kB / 0.82 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.009481, allocations: 7.438 kB / 0.82 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.009515, allocations: 15.92 kB / 0.82 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.009554, allocations: 23.91 kB / 0.82 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.009568, allocations: 4 kB / 0.82 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.244e-05/0.00966, allocations: 196.3 kB / 0.8202 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00966, allocations: 0 / 0.8202 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001872/0.009847, allocations: 59.86 kB / 0.8203 GB, free: 8.52 MB / 0.7761 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.0009328/0.01078, allocations: 0.5007 MB / 0.8207 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.01095, allocations: 100.1 kB / 0.8208 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01095, allocations: 0.5312 kB / 0.8208 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.01103, allocations: 79.52 kB / 0.8209 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.01121, allocations: 40.41 kB / 0.821 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.01162, allocations: 317.3 kB / 0.8213 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.233e-05/0.01166, allocations: 88.95 kB / 0.8213 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.679e-05/0.01173, allocations: 41.98 kB / 0.8214 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.01179, allocations: 37.86 kB / 0.8214 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of SimCode: time 6.52e-07/0.01179, allocations: 0 / 0.8214 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of Templates: time 0.005069/0.01686, allocations: 3.736 MB / 0.8251 GB, free: 3.801 MB / 0.7761 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.804803144652396]