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.0015/0.0015, allocations: 101.3 kB / 16.45 MB, free: 6.5 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.001547/0.001547, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.308/3.308, allocations: 0.4899 GB / 0.7915 GB, free: 33.39 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.002144/0.002144, allocations: 67.38 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3612, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003163/0.3643, allocations: 1.689 MB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002535/0.3669, allocations: 1.639 MB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.3669, allocations: 4 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.3674, allocations: 55.7 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.3677, allocations: 99.53 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.3679, allocations: 79.66 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.3681, allocations: 175.6 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.3681, allocations: 4 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3683, allocations: 71.7 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.3684, allocations: 71.8 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.3685, allocations: 12 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.3687, allocations: 119.9 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.3687, allocations: 51.83 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.3688, allocations: 55.61 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.3692, allocations: 247 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3692, allocations: 4 kB / 1.326 GB, free: 14.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3692, allocations: 4 kB / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3692, allocations: 0 / 1.326 GB, free: 14.43 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.0007239/0.3699, allocations: 0.4902 MB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.37, allocations: 11.98 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/0.37, allocations: 16.84 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.3705, allocations: 276.9 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3705, allocations: 4.375 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3705, allocations: 12.12 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.3708, allocations: 115.3 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3708, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.3708, allocations: 4 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3708, allocations: 4 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.3711, allocations: 143.8 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.3713, allocations: 229.6 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.3717, allocations: 166.5 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3718, allocations: 52.77 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.3719, allocations: 7.938 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.3721, allocations: 113 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.3721, allocations: 0 / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005379/0.3726, allocations: 231.2 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.3727, allocations: 77.11 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.3729, allocations: 215 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.373, allocations: 29.7 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.3731, allocations: 112.1 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/0.3731, allocations: 47.62 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.3732, allocations: 33.7 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3733, allocations: 330.8 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3734, allocations: 52.08 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3736, allocations: 81.16 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.3738, allocations: 121.6 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3738, allocations: 0 / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003595/0.3742, allocations: 206.4 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3742, allocations: 4.062 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3742, allocations: 4 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3742, allocations: 4 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3743, allocations: 23.98 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3743, allocations: 0 / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-05/0.3744, allocations: 8 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.3744, allocations: 4 kB / 1.329 GB, free: 11.01 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.000139/0.3745, allocations: 147.4 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.3746, allocations: 19.86 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.946e-05/0.3747, allocations: 25.53 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3747, allocations: 7.984 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3747, allocations: 0 / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3747, allocations: 0 / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.3749, allocations: 241.4 kB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3749, allocations: 0 / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.375, allocations: 19.98 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.375, allocations: 0 / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.375, allocations: 4 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.375, allocations: 0 / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.375, allocations: 0 / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.3754, allocations: 232.1 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.3754, allocations: 89.02 kB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.3755, allocations: 11.98 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.241e-05/0.3755, allocations: 0 / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.3756, allocations: 15.98 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.3756, allocations: 4 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001687/0.3758, allocations: 168.1 kB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3758, allocations: 4 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003018/0.3761, allocations: 55.8 kB / 1.33 GB, free: 9.887 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.001888/0.378, allocations: 0.4966 MB / 1.33 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.3783, allocations: 111.9 kB / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3783, allocations: 0 / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.3784, allocations: 59.84 kB / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.3787, allocations: 51.36 kB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.3793, allocations: 310.7 kB / 1.331 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3797, allocations: 0.7242 MB / 1.331 GB, free: 8.277 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.3798, allocations: 41.52 kB / 1.331 GB, free: 8.238 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.3799, allocations: 35.41 kB / 1.331 GB, free: 8.203 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3799, allocations: 4 kB / 1.331 GB, free: 8.199 MB / 1.029 GB Notification: Performance of Templates: time 0.007101/0.387, allocations: 3.049 MB / 1.334 GB, free: 5.195 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/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: 9.050601644907147]