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.0007312/0.0007312, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009505/0.001682, allocations: 435.8 kB / 10.33 MB, free: 364 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.0006821/0.0006821, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008557/0.001538, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.9071/0.9071, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08178/0.9889, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.377/2.377, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2442/2.621, allocations: 145.9 MB / 0.817 GB, free: 4.242 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.044e-06/2.044e-06, allocations: 0 / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.814e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical): time 0.001351/0.001369, allocations: 0.9085 MB / 0.8192 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003287/0.001697, allocations: 239.2 kB / 0.8194 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.001766, allocations: 11.94 kB / 0.8194 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.001883, allocations: 55.58 kB / 0.8195 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.00203, allocations: 71.67 kB / 0.8195 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.002141, allocations: 67.84 kB / 0.8196 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.002384, allocations: 303.4 kB / 0.8199 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.002586, allocations: 166.2 kB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.002858, allocations: 287.5 kB / 0.8203 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.079e-05/0.002939, allocations: 99.77 kB / 0.8204 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.002968, allocations: 23.94 kB / 0.8204 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.003034, allocations: 31.94 kB / 0.8205 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.003095, allocations: 75.73 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.003149, allocations: 63.81 kB / 0.8206 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.003354, allocations: 235 kB / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.003363, allocations: 0 / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003363, allocations: 0 / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.003377, allocations: 4 kB / 0.8208 GB, free: 336 kB / 0.7917 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.00043/0.003807, allocations: 0.5424 MB / 0.8214 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.003834, allocations: 8.031 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.004178, allocations: 150 kB / 0.8215 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.004428, allocations: 280.6 kB / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.004455, allocations: 21.03 kB / 0.8218 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.004477, allocations: 24.38 kB / 0.8218 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.004646, allocations: 171.3 kB / 0.822 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.004654, allocations: 192 / 0.822 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.004668, allocations: 12.38 kB / 0.822 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.004675, allocations: 4.375 kB / 0.822 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.004741, allocations: 60.45 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.005218, allocations: 0.7486 MB / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.345e-05/0.005271, allocations: 177.1 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.005291, allocations: 80.14 kB / 0.823 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.005308, allocations: 83.2 kB / 0.8231 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.005338, allocations: 105.8 kB / 0.8232 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.005338, allocations: 0 / 0.8232 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.552e-05/0.005384, allocations: 37.69 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.005427, allocations: 138.6 kB / 0.8234 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.005572, allocations: 266.8 kB / 0.8236 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.005581, allocations: 25.7 kB / 0.8237 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.005649, allocations: 184.7 kB / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.005651, allocations: 4 kB / 0.8238 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.00569, allocations: 53.59 kB / 0.8239 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.005765, allocations: 334.8 kB / 0.8242 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-06/0.00577, allocations: 0 / 0.8242 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/0.005835, allocations: 175.3 kB / 0.8244 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.005871, allocations: 49.08 kB / 0.8244 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.005872, allocations: 4.125 kB / 0.8244 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.248e-05/0.005945, allocations: 73.59 kB / 0.8245 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.005954, allocations: 4 kB / 0.8245 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.00596, allocations: 7.984 kB / 0.8245 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.005967, allocations: 0 / 0.8245 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.188e-05/0.005978, allocations: 11.92 kB / 0.8245 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.005982, allocations: 3.938 kB / 0.8245 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.006006, allocations: 4.188 kB / 0.8245 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.00601, allocations: 8 kB / 0.8245 GB, free: 12.23 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 8.212e-05/0.006092, allocations: 196 kB / 0.8247 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.006127, allocations: 112.9 kB / 0.8248 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.006164, allocations: 121.8 kB / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.892e-05/0.006203, allocations: 188.2 kB / 0.8251 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-05/0.006239, allocations: 180.2 kB / 0.8253 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.736e-05/0.006276, allocations: 184.2 kB / 0.8255 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.006426, allocations: 377.3 kB / 0.8258 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/0.006453, allocations: 105 kB / 0.8259 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.006474, allocations: 108.9 kB / 0.826 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.006505, allocations: 116.8 kB / 0.8261 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.865e-05/0.006543, allocations: 184.2 kB / 0.8263 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.006579, allocations: 180.2 kB / 0.8265 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.455e-05/0.006614, allocations: 176.3 kB / 0.8267 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.711e-05/0.006651, allocations: 192.2 kB / 0.8268 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.181e-05/0.006733, allocations: 311.8 kB / 0.8271 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.006778, allocations: 184.2 kB / 0.8273 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.444e-05/0.006823, allocations: 101.3 kB / 0.8274 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.006862, allocations: 188.1 kB / 0.8276 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.006883, allocations: 109 kB / 0.8277 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.304e-05/0.006936, allocations: 80.64 kB / 0.8278 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006937, allocations: 0 / 0.8278 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001365/0.007073, allocations: 47.72 kB / 0.8278 GB, free: 8.684 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 6.846e-05/0.007142, allocations: 151.7 kB / 0.828 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.408e-05/0.007186, allocations: 28.78 kB / 0.828 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.00719, allocations: 4 kB / 0.828 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.007191, allocations: 4.375 kB / 0.828 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.007376, allocations: 484.6 kB / 0.8285 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.007816, allocations: 0.4924 MB / 0.8289 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.238e-05/0.007859, allocations: 87.95 kB / 0.829 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.00788, allocations: 17.48 kB / 0.829 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.007918, allocations: 71.36 kB / 0.8291 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.007918, allocations: 0 / 0.8291 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of Templates: time 0.002613/0.01053, allocations: 0.7215 MB / 0.8298 GB, free: 6.598 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.971472875215113]