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.001431/0.001431, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002072/0.002072, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.419/3.419, allocations: 0.49 GB / 0.7958 GB, free: 33.53 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.002082/0.002082, allocations: 76.11 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.395, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003693/0.3987, allocations: 1.697 MB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002955/0.4016, allocations: 1.738 MB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-05/0.4017, allocations: 3.938 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.4022, allocations: 63.62 kB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.4025, allocations: 95.53 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.4027, allocations: 71.75 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.403, allocations: 183.5 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.403, allocations: 7.984 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.4031, allocations: 79.7 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.4033, allocations: 71.73 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.4033, allocations: 12 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.4036, allocations: 111.9 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.8e-05/0.4036, allocations: 55.81 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.832e-05/0.4037, allocations: 59.55 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.4041, allocations: 243.1 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4041, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4041, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.4041, allocations: 0 / 1.331 GB, free: 12.95 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.0006658/0.4048, allocations: 428.9 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.4048, allocations: 12.03 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.4049, allocations: 12.84 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.4053, allocations: 215.1 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4053, allocations: 8.359 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.4053, allocations: 12.12 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.4056, allocations: 119.3 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4056, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4056, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4056, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.4058, allocations: 143.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.4061, allocations: 204.6 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.4065, allocations: 158.6 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.4066, allocations: 52.78 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.4066, allocations: 7.984 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.4068, allocations: 117.2 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.4068, allocations: 0 / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0004961/0.4073, allocations: 221.5 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.4074, allocations: 81.11 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.4076, allocations: 214.9 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.4076, allocations: 33.69 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.4077, allocations: 120.1 kB / 1.334 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.4078, allocations: 39.69 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.4078, allocations: 33.7 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.408, allocations: 326.9 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.4081, allocations: 47.92 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.4082, allocations: 85.02 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.4084, allocations: 127.2 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4084, allocations: 0 / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003484/0.4088, allocations: 194.3 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4088, allocations: 8 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4088, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4088, allocations: 4 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.4089, allocations: 36.05 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.409, allocations: 0 / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.144e-05/0.409, allocations: 11.92 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.409, allocations: 4 kB / 1.334 GB, free: 9.719 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.0001332/0.4092, allocations: 142.2 kB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.4092, allocations: 19.86 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.4096, allocations: 218.3 kB / 1.335 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.4097, allocations: 7.984 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4097, allocations: 0 / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4097, allocations: 4 kB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.4099, allocations: 212.5 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4099, allocations: 4 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.4099, allocations: 19.92 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.41, allocations: 4 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.41, allocations: 4 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.41, allocations: 4 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.41, allocations: 0 / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.4103, allocations: 208.9 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.4104, allocations: 19.84 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.4104, allocations: 11.97 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.4105, allocations: 4 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.4105, allocations: 15.92 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.4105, allocations: 4 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000163/0.4107, allocations: 164.2 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4107, allocations: 3.938 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002881/0.411, allocations: 51.86 kB / 1.336 GB, free: 8.535 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 (13): * Single equations (assignments): 11 * 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.00185/0.4128, allocations: 0.5069 MB / 1.336 GB, free: 8.211 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.4131, allocations: 118 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4131, allocations: 0 / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.4132, allocations: 63.84 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.4135, allocations: 30.75 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.4141, allocations: 336.5 kB / 1.337 GB, free: 7.648 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.4145, allocations: 0.7281 MB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.4146, allocations: 35.42 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.4146, allocations: 0 / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of Templates: time 0.006012/0.4206, allocations: 3.279 MB / 1.34 GB, free: 3.605 MB / 1.029 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/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: 12.675325049000094]