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.0009103/0.0009103, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001023/0.001023, allocations: 221.2 kB / 22.25 MB, free: 3.578 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.9794/0.9794, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.414/2.414, allocations: 0.5688 GB / 0.8739 GB, free: 18 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_ConcatenateLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_ConcatenateLogical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009442/0.0009442, allocations: 67.8 kB / 1.272 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3, allocations: 196.5 MB / 1.464 GB, free: 5.598 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical): time 0.00169/0.3017, allocations: 0.8455 MB / 1.465 GB, free: 4.75 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.0004612/0.3022, allocations: 232.9 kB / 1.465 GB, free: 4.523 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.3023, allocations: 11.88 kB / 1.465 GB, free: 4.512 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.3024, allocations: 55.56 kB / 1.465 GB, free: 4.457 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.3026, allocations: 67.78 kB / 1.465 GB, free: 4.391 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.3028, allocations: 67.86 kB / 1.466 GB, free: 4.324 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.303, allocations: 299.5 kB / 1.466 GB, free: 4.031 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.3032, allocations: 157.7 kB / 1.466 GB, free: 3.875 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.3035, allocations: 211.5 kB / 1.466 GB, free: 3.668 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 9.268e-05/0.3036, allocations: 127.4 kB / 1.466 GB, free: 3.543 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.3036, allocations: 24 kB / 1.466 GB, free: 3.52 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 6.495e-05/0.3036, allocations: 39.98 kB / 1.466 GB, free: 3.48 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.3037, allocations: 95.64 kB / 1.466 GB, free: 3.387 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 7.209e-05/0.3038, allocations: 111.3 kB / 1.467 GB, free: 3.277 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.3041, allocations: 418.2 kB / 1.467 GB, free: 2.867 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3041, allocations: 0 / 1.467 GB, free: 2.867 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3041, allocations: 4 kB / 1.467 GB, free: 2.863 MB / 1.135 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3041, allocations: 0 / 1.467 GB, free: 2.863 MB / 1.135 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.0005673/0.3047, allocations: 0.5246 MB / 1.467 GB, free: 2.301 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3047, allocations: 11.98 kB / 1.467 GB, free: 2.289 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.3048, allocations: 66.72 kB / 1.468 GB, free: 2.215 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.305, allocations: 80.66 kB / 1.468 GB, free: 2.137 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.3054, allocations: 316.6 kB / 1.468 GB, free: 1.809 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.3054, allocations: 21.03 kB / 1.468 GB, free: 1.785 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.3054, allocations: 32.31 kB / 1.468 GB, free: 1.754 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.3057, allocations: 294.5 kB / 1.468 GB, free: 1.465 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3057, allocations: 3.938 kB / 1.468 GB, free: 1.461 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3058, allocations: 8 kB / 1.468 GB, free: 1.453 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.3058, allocations: 11.98 kB / 1.468 GB, free: 1.441 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.306, allocations: 222.5 kB / 1.468 GB, free: 1.227 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.3067, allocations: 1.047 MB / 1.47 GB, free: 96 kB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 7.3e-05/0.3068, allocations: 169.1 kB / 1.47 GB, free: 15.92 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.3068, allocations: 80.14 kB / 1.47 GB, free: 15.84 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3069, allocations: 79.28 kB / 1.47 GB, free: 15.76 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3069, allocations: 109.8 kB / 1.47 GB, free: 15.64 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3069, allocations: 0 / 1.47 GB, free: 15.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 7.229e-05/0.307, allocations: 65.41 kB / 1.47 GB, free: 15.57 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.307, allocations: 126.7 kB / 1.47 GB, free: 15.43 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.3074, allocations: 0.5329 MB / 1.471 GB, free: 14.89 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.3074, allocations: 29.7 kB / 1.471 GB, free: 14.86 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3075, allocations: 196 kB / 1.471 GB, free: 14.66 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-06/0.3075, allocations: 0 / 1.471 GB, free: 14.66 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.3075, allocations: 33.7 kB / 1.471 GB, free: 14.62 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.3076, allocations: 346.8 kB / 1.471 GB, free: 14.28 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.3076, allocations: 8 kB / 1.471 GB, free: 14.27 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.72e-05/0.3077, allocations: 175.4 kB / 1.471 GB, free: 14.04 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.895e-05/0.3078, allocations: 69.02 kB / 1.471 GB, free: 13.96 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3078, allocations: 0 / 1.471 GB, free: 13.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001241/0.3079, allocations: 113.2 kB / 1.472 GB, free: 13.84 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3079, allocations: 8 kB / 1.472 GB, free: 13.83 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3079, allocations: 0 / 1.472 GB, free: 13.83 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3079, allocations: 240 / 1.472 GB, free: 13.83 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.581e-05/0.3079, allocations: 16.11 kB / 1.472 GB, free: 13.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3079, allocations: 3.984 kB / 1.472 GB, free: 13.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.308, allocations: 39.67 kB / 1.472 GB, free: 13.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.308, allocations: 0 / 1.472 GB, free: 13.77 MB / 1.151 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 (catPre.con[3].y,catPre.con[2].y,catPre.con[1].y,catApp.con[3].y,catApp.con[2].y,catApp.con[1].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.0001321/0.3081, allocations: 272.9 kB / 1.472 GB, free: 13.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.3082, allocations: 136.8 kB / 1.472 GB, free: 13.36 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.3082, allocations: 143.4 kB / 1.472 GB, free: 13.21 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/0.3083, allocations: 180.2 kB / 1.472 GB, free: 13.03 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-05/0.3083, allocations: 184.3 kB / 1.472 GB, free: 12.84 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.694e-05/0.3083, allocations: 184.2 kB / 1.473 GB, free: 12.65 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.3085, allocations: 480.2 kB / 1.473 GB, free: 12.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/0.3086, allocations: 117 kB / 1.473 GB, free: 12.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.3086, allocations: 101 kB / 1.473 GB, free: 11.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.852e-05/0.3086, allocations: 184.2 kB / 1.474 GB, free: 11.72 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.3087, allocations: 188.1 kB / 1.474 GB, free: 11.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-05/0.3087, allocations: 176.3 kB / 1.474 GB, free: 11.35 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-05/0.3088, allocations: 180.2 kB / 1.474 GB, free: 11.16 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.735e-05/0.3089, allocations: 343.5 kB / 1.474 GB, free: 10.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.309, allocations: 148.7 kB / 1.475 GB, free: 10.65 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.309, allocations: 184.2 kB / 1.475 GB, free: 10.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/0.3091, allocations: 104.9 kB / 1.475 GB, free: 10.36 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.3091, allocations: 180.3 kB / 1.475 GB, free: 10.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.3092, allocations: 101 kB / 1.475 GB, free: 10.07 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000258/0.3094, allocations: 383 kB / 1.475 GB, free: 9.691 MB / 1.151 GB Notification: Performance of sort global known variables: time 5e-08/0.3094, allocations: 0 / 1.475 GB, free: 9.691 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0001676/0.3096, allocations: 31.89 kB / 1.475 GB, free: 9.66 MB / 1.151 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.0002827/0.3099, allocations: 0.8397 MB / 1.476 GB, free: 8.789 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 8.257e-05/0.3099, allocations: 32.05 kB / 1.476 GB, free: 8.758 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.3099, allocations: 0 / 1.476 GB, free: 8.758 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.3099, allocations: 4 kB / 1.476 GB, free: 8.754 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3102, allocations: 483.7 kB / 1.477 GB, free: 8.281 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.3122, allocations: 2.959 MB / 1.48 GB, free: 5.207 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.3123, allocations: 187.7 kB / 1.48 GB, free: 5.008 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.047e-05/0.3124, allocations: 44.27 kB / 1.48 GB, free: 4.965 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.572e-05/0.3124, allocations: 99.41 kB / 1.48 GB, free: 4.871 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/0.3124, allocations: 0 / 1.48 GB, free: 4.871 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08377/0.3962, allocations: 6.063 MB / 1.486 GB, free: 14.96 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/7.616, allocations: 15.45 kB / 1.486 GB, free: 14.95 MB / 1.167 GB " [Timeout remaining time 292] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_ConcatenateLogical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_ConcatenateLogical.fmu) > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical_fmpy.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical_fmpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_ConcatenateLogical.fmu) > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.ConcatenateLogical_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.089983373880386]