Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical.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.00107/0.00107, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.002606, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001086/0.001086, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.002466, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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 0.992/0.992, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08965/1.082, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.734/2.734, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3034/3.038, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|catApp.y.[0-9,]+.|catPre.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|catApp.y.[0-9,]+.|catPre.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.429e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical): time 0.002405/0.002429, allocations: 0.9205 MB / 0.8198 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005876/0.003017, allocations: 231.3 kB / 0.82 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.003153, allocations: 11.88 kB / 0.82 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.003329, allocations: 59.58 kB / 0.8201 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.003559, allocations: 67.72 kB / 0.8202 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.003778, allocations: 59.92 kB / 0.8202 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.004198, allocations: 307.4 kB / 0.8205 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002999/0.004497, allocations: 161.5 kB / 0.8207 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004946/0.004992, allocations: 287.5 kB / 0.8209 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.00514, allocations: 99.7 kB / 0.821 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.005189, allocations: 28 kB / 0.8211 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.005293, allocations: 35.88 kB / 0.8211 GB, free: 268 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.005402, allocations: 87.72 kB / 0.8212 GB, free: 180 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.005481, allocations: 59.75 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.005862, allocations: 223.2 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.005873, allocations: 0 / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005874, allocations: 0 / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.005894, allocations: 0 / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007325/0.006627, allocations: 0.5502 MB / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.006669, allocations: 8.031 kB / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004663/0.007136, allocations: 157.8 kB / 0.8221 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.007547, allocations: 268.6 kB / 0.8224 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/0.007602, allocations: 29.02 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.007642, allocations: 24.38 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.007944, allocations: 171.3 kB / 0.8226 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.007955, allocations: 192 / 0.8226 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.007976, allocations: 8.375 kB / 0.8226 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.007989, allocations: 8.375 kB / 0.8226 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.008099, allocations: 56.5 kB / 0.8227 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.008979, allocations: 0.7564 MB / 0.8234 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.157e-05/0.00907, allocations: 173.1 kB / 0.8236 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.009108, allocations: 84.14 kB / 0.8237 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.009135, allocations: 75.28 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.009183, allocations: 105.8 kB / 0.8238 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.009184, allocations: 0 / 0.8238 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 8.508e-05/0.009269, allocations: 41.62 kB / 0.8239 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.009323, allocations: 130.6 kB / 0.824 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.009562, allocations: 282.8 kB / 0.8243 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.009577, allocations: 25.7 kB / 0.8243 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.009684, allocations: 180.7 kB / 0.8245 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-06/0.009688, allocations: 4 kB / 0.8245 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.009755, allocations: 45.62 kB / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.00987, allocations: 334.8 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.009881, allocations: 4 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.00999, allocations: 179.3 kB / 0.825 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.368e-05/0.01006, allocations: 61 kB / 0.8251 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.01007, allocations: 4 kB / 0.8251 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003064/0.01037, allocations: 69.55 kB / 0.8251 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.01039, allocations: 4 kB / 0.8251 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.0104, allocations: 4 kB / 0.8251 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.01042, allocations: 192 / 0.8251 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.072e-05/0.01044, allocations: 8 kB / 0.8252 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01045, allocations: 3.938 kB / 0.8252 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.0105, allocations: 4 kB / 0.8252 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.01051, allocations: 11.92 kB / 0.8252 GB, free: 11.79 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 (catApp.con[1].y,catApp.con[2].y,catApp.con[3].y,catPre.con[1].y,catPre.con[2].y,catPre.con[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001381/0.01065, allocations: 195.9 kB / 0.8254 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.01071, allocations: 117 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/0.01078, allocations: 125.8 kB / 0.8256 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-05/0.01083, allocations: 176.3 kB / 0.8258 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.068e-05/0.01089, allocations: 188.2 kB / 0.8259 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-05/0.01095, allocations: 184.2 kB / 0.8261 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.01121, allocations: 373.3 kB / 0.8265 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/0.01125, allocations: 112.9 kB / 0.8266 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.01128, allocations: 105 kB / 0.8267 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.01134, allocations: 116.8 kB / 0.8268 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-05/0.01141, allocations: 180.2 kB / 0.827 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.01147, allocations: 180.3 kB / 0.8271 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.964e-05/0.01153, allocations: 184.2 kB / 0.8273 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.615e-05/0.01158, allocations: 180.3 kB / 0.8275 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.01173, allocations: 315.7 kB / 0.8278 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.0118, allocations: 184.3 kB / 0.828 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.01188, allocations: 104.9 kB / 0.8281 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.01194, allocations: 180.5 kB / 0.8282 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.01198, allocations: 113.1 kB / 0.8283 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.396e-05/0.01207, allocations: 84.62 kB / 0.8284 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01207, allocations: 0 / 0.8284 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000253/0.01233, allocations: 43.72 kB / 0.8285 GB, free: 8.23 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000154/0.01248, allocations: 151.7 kB / 0.8286 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.74e-05/0.01258, allocations: 33.08 kB / 0.8286 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.01259, allocations: 8 kB / 0.8286 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-06/0.01259, allocations: 3.984 kB / 0.8286 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.01323, allocations: 0.4939 MB / 0.8291 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.01388, allocations: 0.4967 MB / 0.8296 GB, free: 7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.01394, allocations: 87.95 kB / 0.8297 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.01399, allocations: 17.48 kB / 0.8297 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.01406, allocations: 67.38 kB / 0.8298 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.01406, allocations: 0 / 0.8298 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of Templates: time 0.003797/0.01785, allocations: 0.6737 MB / 0.8304 GB, free: 6.16 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.597437751479447]