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.001487/0.001487, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001514/0.001514, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.528/1.528, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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 2.917/2.917, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.",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.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.671e-05/3.859e-05, allocations: 3.312 kB / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003716/0.003754, allocations: 1.669 MB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003202/0.006957, allocations: 1.682 MB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.092e-05/0.007048, allocations: 0 / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.00761, allocations: 55.62 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.00794, allocations: 101.6 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.008162, allocations: 71.69 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.008455, allocations: 183.5 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.008504, allocations: 11.92 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.008662, allocations: 79.81 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.008828, allocations: 74.41 kB / 0.8147 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.008863, allocations: 12 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.009102, allocations: 108.9 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.711e-05/0.009199, allocations: 47.84 kB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.009276, allocations: 35.91 kB / 0.8149 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.009758, allocations: 268.5 kB / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.009763, allocations: 0 / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.332e-06/0.009764, allocations: 0 / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.00977, allocations: 0 / 0.8151 GB, free: 13.68 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.0009543/0.01072, allocations: 425.6 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.01077, allocations: 9.281 kB / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.01087, allocations: 16.84 kB / 0.8155 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.01138, allocations: 214.3 kB / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.0114, allocations: 6.812 kB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.01142, allocations: 4.375 kB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.01176, allocations: 149.6 kB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.01177, allocations: 3.938 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.01179, allocations: 4 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.0118, allocations: 4 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.01218, allocations: 184.5 kB / 0.8161 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.01249, allocations: 185.1 kB / 0.8163 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.01306, allocations: 207.7 kB / 0.8165 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.01321, allocations: 56.83 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.01323, allocations: 1.531 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.01351, allocations: 123.3 kB / 0.8166 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.01351, allocations: 0 / 0.8166 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0006837/0.01419, allocations: 266.8 kB / 0.8169 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.01426, allocations: 81.11 kB / 0.817 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.0146, allocations: 247 kB / 0.8172 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.01463, allocations: 34.84 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.01473, allocations: 112.1 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.0148, allocations: 43.64 kB / 0.8174 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.01487, allocations: 37.7 kB / 0.8174 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.01506, allocations: 327.4 kB / 0.8177 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.0152, allocations: 56.5 kB / 0.8178 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.01537, allocations: 115.1 kB / 0.8179 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.01566, allocations: 148 kB / 0.818 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01566, allocations: 0 / 0.818 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004473/0.01611, allocations: 222 kB / 0.8183 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01612, allocations: 5.375 kB / 0.8183 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.01613, allocations: 3.938 kB / 0.8183 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.01615, allocations: 0 / 0.8183 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.0163, allocations: 29.14 kB / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.01631, allocations: 7.984 kB / 0.8183 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.01638, allocations: 11.89 kB / 0.8183 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.0164, allocations: 12.75 kB / 0.8183 GB, free: 10.2 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 0.0001605/0.01656, allocations: 139.7 kB / 0.8185 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.01662, allocations: 24.42 kB / 0.8185 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007112/0.01733, allocations: 283.8 kB / 0.8187 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.01734, allocations: 7.938 kB / 0.8188 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.01735, allocations: 0.8438 kB / 0.8188 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.01736, allocations: 3.984 kB / 0.8188 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.01763, allocations: 198.4 kB / 0.8189 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01763, allocations: 0 / 0.8189 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.01776, allocations: 31.92 kB / 0.819 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.01776, allocations: 4.719 kB / 0.819 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.01778, allocations: 7.984 kB / 0.819 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01779, allocations: 4.875 kB / 0.819 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.01779, allocations: 3.938 kB / 0.819 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005358/0.01833, allocations: 280.7 kB / 0.8193 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.01837, allocations: 19.84 kB / 0.8193 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.01841, allocations: 8 kB / 0.8193 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.01848, allocations: 8 kB / 0.8193 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.01855, allocations: 16.97 kB / 0.8193 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.01858, allocations: 15.98 kB / 0.8193 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002388/0.01882, allocations: 192.3 kB / 0.8195 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01882, allocations: 3.281 kB / 0.8195 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003382/0.01915, allocations: 55.92 kB / 0.8196 GB, free: 8.867 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.002469/0.02162, allocations: 0.5342 MB / 0.8201 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.02201, allocations: 155.5 kB / 0.8202 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02201, allocations: 0.7188 kB / 0.8202 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.0222, allocations: 87.83 kB / 0.8203 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.02258, allocations: 55.44 kB / 0.8204 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.02342, allocations: 357 kB / 0.8207 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.02358, allocations: 129.4 kB / 0.8208 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.02372, allocations: 50.5 kB / 0.8209 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.02382, allocations: 40.47 kB / 0.8209 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.02382, allocations: 3.938 kB / 0.8209 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.008721/0.03255, allocations: 3.566 MB / 0.8244 GB, free: 4.168 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.209843186894432]