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.001776/0.001776, allocations: 102.1 kB / 19.7 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.002217/0.002217, allocations: 214.1 kB / 23.01 MB, free: 4.609 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.82/2.82, allocations: 476.7 MB / 0.7714 GB, free: 4.293 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.002101/0.002101, allocations: 66.91 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00342/0.3675, allocations: 1.694 MB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.3704, allocations: 1.747 MB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.3705, allocations: 0 / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.371, allocations: 55.7 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.3713, allocations: 99.53 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.3715, allocations: 75.73 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.3718, allocations: 179.5 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.3719, allocations: 11.94 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.372, allocations: 71.77 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.3722, allocations: 75.73 kB / 1.289 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.3723, allocations: 12 kB / 1.289 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.3725, allocations: 111.9 kB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.3726, allocations: 51.83 kB / 1.289 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.318e-05/0.3726, allocations: 59.55 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.373, allocations: 239.2 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.373, allocations: 0 / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.373, allocations: 11.94 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.373, allocations: 0 / 1.289 GB, free: 6.734 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.0006996/0.3737, allocations: 424.9 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3738, allocations: 8.031 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.3738, allocations: 20.83 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.3743, allocations: 211.1 kB / 1.29 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3743, allocations: 384 / 1.29 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.3743, allocations: 8.125 kB / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.3746, allocations: 123.3 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3746, allocations: 0 / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3746, allocations: 4 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3746, allocations: 0 / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.3749, allocations: 143.8 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.3751, allocations: 208.6 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.3755, allocations: 158.6 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3757, allocations: 56.77 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.3757, allocations: 4 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.3759, allocations: 107.3 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3759, allocations: 112 / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.000567/0.3765, allocations: 233.4 kB / 1.291 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.3766, allocations: 81.11 kB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.3768, allocations: 215 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3768, allocations: 29.7 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.3769, allocations: 112.1 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.377, allocations: 39.69 kB / 1.291 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.377, allocations: 37.7 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3772, allocations: 326.8 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3773, allocations: 47.97 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3774, allocations: 78.48 kB / 1.292 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3777, allocations: 125.7 kB / 1.292 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3777, allocations: 0 / 1.292 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003479/0.378, allocations: 200.4 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3781, allocations: 8 kB / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3781, allocations: 0 / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3781, allocations: 4.062 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3782, allocations: 23.98 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3782, allocations: 4 kB / 1.292 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.3782, allocations: 7.938 kB / 1.292 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.3783, allocations: 8 kB / 1.292 GB, free: 3.523 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.0001788/0.3784, allocations: 145.7 kB / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.3785, allocations: 23.84 kB / 1.292 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.3789, allocations: 211.1 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3789, allocations: 4 kB / 1.292 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3789, allocations: 3.938 kB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3789, allocations: 4 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.3792, allocations: 212.5 kB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3792, allocations: 0 / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.3793, allocations: 27.92 kB / 1.293 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3793, allocations: 0 / 1.293 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.3793, allocations: 11.98 kB / 1.293 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3793, allocations: 0 / 1.293 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3793, allocations: 3.938 kB / 1.293 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.3797, allocations: 212.9 kB / 1.293 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.3797, allocations: 19.83 kB / 1.293 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.3797, allocations: 4 kB / 1.293 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.3798, allocations: 8 kB / 1.293 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.3798, allocations: 7.984 kB / 1.293 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.3798, allocations: 11.98 kB / 1.293 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001687/0.38, allocations: 159.2 kB / 1.293 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.38, allocations: 4 kB / 1.293 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002857/0.3803, allocations: 47.88 kB / 1.293 GB, free: 2.344 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 (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.001925/0.3822, allocations: 0.5033 MB / 1.293 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.3825, allocations: 122.5 kB / 1.294 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3825, allocations: 0 / 1.294 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3826, allocations: 51.98 kB / 1.294 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.3829, allocations: 39.19 kB / 1.294 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006817/0.3836, allocations: 340.5 kB / 1.294 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.384, allocations: 0.7203 MB / 1.295 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.522e-05/0.3841, allocations: 35.42 kB / 1.295 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3841, allocations: 0 / 1.295 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of Templates: time 0.006332/0.3904, allocations: 3.278 MB / 1.298 GB, free: 13.43 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: 12.367273126001237]