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.0018/0.0018, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002172/0.002172, allocations: 209.8 kB / 22.98 MB, free: 4.984 MB / 14.72 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.647/1.647, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.588/3.588, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 73.89 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.471, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003766/0.4748, allocations: 1.656 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002892/0.4777, allocations: 1.676 MB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.4778, allocations: 3.938 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.4783, allocations: 51.75 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.4785, allocations: 99.53 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.4787, allocations: 75.73 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.479, allocations: 183.5 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.255e-05/0.4791, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.4792, allocations: 67.77 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.4793, allocations: 71.73 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.4794, allocations: 16 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.4796, allocations: 115.9 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.541e-05/0.4797, allocations: 55.81 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.4798, allocations: 51.66 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.4802, allocations: 251 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4802, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4802, allocations: 3.938 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.4802, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 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.0008026/0.481, allocations: 417 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.481, allocations: 8.031 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.4811, allocations: 20.84 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.4816, allocations: 207 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4816, allocations: 8.375 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.4816, allocations: 8.125 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.4819, allocations: 153 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4819, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.4819, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.482, allocations: 4 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.4823, allocations: 187.7 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.4826, allocations: 177.2 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.4831, allocations: 198.5 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.4832, allocations: 60.94 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.4832, allocations: 3.938 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.4835, allocations: 135.2 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.4835, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006063/0.4841, allocations: 251.8 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.4841, allocations: 85.11 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.4845, allocations: 247 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.4845, allocations: 37.7 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.4846, allocations: 108.1 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.107e-05/0.4847, allocations: 47.62 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/0.4847, allocations: 37.7 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4849, allocations: 326.8 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.4851, allocations: 59.95 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.4852, allocations: 108.2 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.4855, allocations: 149.7 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4855, allocations: 0 / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003917/0.4859, allocations: 225.3 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.4859, allocations: 11.98 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4859, allocations: 0 / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4859, allocations: 0 / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.4861, allocations: 23.98 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.4861, allocations: 4 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.4861, allocations: 3.953 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.4862, allocations: 15.94 kB / 1.335 GB, free: 9.098 MB / 1.029 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.0001802/0.4863, allocations: 143.2 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.4864, allocations: 23.88 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006292/0.487, allocations: 292.2 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.487, allocations: 0 / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.487, allocations: 4 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.487, allocations: 0 / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.4873, allocations: 189.1 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4873, allocations: 0 / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.4874, allocations: 35.92 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.4875, allocations: 7.938 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.4875, allocations: 3.984 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4875, allocations: 8 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4875, allocations: 0 / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.488, allocations: 275.1 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.488, allocations: 23.8 kB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.4881, allocations: 11.94 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.4881, allocations: 7.984 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.4882, allocations: 19.98 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.4882, allocations: 11.98 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002514/0.4885, allocations: 184.4 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4885, allocations: 0 / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003399/0.4888, allocations: 59.86 kB / 1.336 GB, free: 7.754 MB / 1.029 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.002187/0.491, allocations: 0.5464 MB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.4914, allocations: 155.8 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4914, allocations: 0 / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.4915, allocations: 85.39 kB / 1.337 GB, free: 7.191 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.4919, allocations: 40.36 kB / 1.337 GB, free: 7.152 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.4927, allocations: 346.9 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.4928, allocations: 124 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.4929, allocations: 49.44 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.493, allocations: 35.42 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.493, allocations: 0 / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of Templates: time 0.008223/0.5012, allocations: 3.703 MB / 1.341 GB, free: 2.918 MB / 1.029 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/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: 10.648488802995416]