Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001471/0.001471, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001557/0.001557, allocations: 214.2 kB / 22.99 MB, free: 4.945 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.745/2.745, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002136/0.002136, allocations: 67.08 kB / 1.118 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3838, allocations: 169.9 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003564/0.3873, allocations: 1.668 MB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002782/0.3901, allocations: 1.666 MB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.3902, allocations: 3.938 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.3907, allocations: 59.73 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.391, allocations: 99.53 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.3912, allocations: 71.73 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.3915, allocations: 179.6 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.3915, allocations: 4 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3916, allocations: 67.77 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.3918, allocations: 75.66 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.3918, allocations: 12 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.392, allocations: 108 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/0.3921, allocations: 51.83 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.423e-05/0.3922, allocations: 55.64 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.3926, allocations: 247.1 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.3926, allocations: 0 / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.337e-06/0.3926, allocations: 3.984 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.3926, allocations: 0 / 1.288 GB, free: 7.559 MB / 0.9825 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.0007368/0.3933, allocations: 421 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3934, allocations: 8.031 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.3935, allocations: 20.8 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.3939, allocations: 203.1 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.3939, allocations: 8.359 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.394, allocations: 12.12 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.3943, allocations: 153 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3943, allocations: 0 / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3943, allocations: 0 / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3943, allocations: 7.938 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.3946, allocations: 187.7 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.3949, allocations: 173.2 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.3954, allocations: 198.5 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.3955, allocations: 56.83 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3955, allocations: 4 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.3958, allocations: 123.2 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 3.727e-06/0.3958, allocations: 3.984 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005742/0.3964, allocations: 261.4 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.3964, allocations: 81.11 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.3967, allocations: 247 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.3967, allocations: 33.7 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.3968, allocations: 112.2 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.3969, allocations: 55.55 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.397, allocations: 37.7 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3971, allocations: 322.8 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.3973, allocations: 55.97 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3974, allocations: 116.2 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.3977, allocations: 143.8 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3977, allocations: 0 / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003749/0.398, allocations: 229.4 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3981, allocations: 6.5 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3981, allocations: 4 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3981, allocations: 0 / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.3982, allocations: 31.98 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.3982, allocations: 3.984 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.3983, allocations: 4 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.3983, allocations: 4 kB / 1.291 GB, free: 4.086 MB / 0.9825 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.0001403/0.3984, allocations: 148.3 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.3985, allocations: 23.8 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.399, allocations: 283 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.399, allocations: 0 / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.399, allocations: 0 / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.399, allocations: 7.984 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.3993, allocations: 189.1 kB / 1.292 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3993, allocations: 0 / 1.292 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.3994, allocations: 35.92 kB / 1.292 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3994, allocations: 3.938 kB / 1.292 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.3994, allocations: 11.94 kB / 1.292 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3994, allocations: 7.922 kB / 1.292 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3994, allocations: 8 kB / 1.292 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.3998, allocations: 284.1 kB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.3999, allocations: 19.86 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.3999, allocations: 11.94 kB / 1.292 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.4, allocations: 4 kB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.4, allocations: 15.97 kB / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.4001, allocations: 11.98 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000199/0.4003, allocations: 183.2 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4003, allocations: 0 / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002942/0.4006, allocations: 59.86 kB / 1.292 GB, free: 2.742 MB / 0.9825 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.001961/0.4025, allocations: 0.5471 MB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.4029, allocations: 151.8 kB / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4029, allocations: 4 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.403, allocations: 79.89 kB / 1.293 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.4033, allocations: 35.92 kB / 1.293 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007203/0.4041, allocations: 388.5 kB / 1.294 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.4042, allocations: 128 kB / 1.294 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.4043, allocations: 31.41 kB / 1.294 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.4043, allocations: 4 kB / 1.294 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of Templates: time 0.006193/0.4105, allocations: 3.477 MB / 1.297 GB, free: 14.1 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.880493613425642]