Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.000784/0.000784, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001835, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006903/0.0006903, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008869/0.001577, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9277/0.9277, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09811/1.026, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.864/1.864, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4908/2.355, allocations: 123.3 MB / 0.7283 GB, free: 5.758 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u.[0-9,]+.|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u.[0-9,]+.|booRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0.5469 kB / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.499e-05, allocations: 6.25 kB / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002153/0.002188, allocations: 0.6835 MB / 0.7303 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.003672, allocations: 1.173 MB / 0.7315 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.003732, allocations: 4.656 kB / 0.7315 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.687e-05/0.003809, allocations: 8.688 kB / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.312e-05/0.003882, allocations: 7.078 kB / 0.7315 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.004249, allocations: 116.5 kB / 0.7316 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.004553, allocations: 193.4 kB / 0.7318 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.004679, allocations: 8 kB / 0.7318 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.00485, allocations: 115.8 kB / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.005045, allocations: 73.98 kB / 0.732 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.005089, allocations: 16 kB / 0.732 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.005203, allocations: 35.86 kB / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.005275, allocations: 24.91 kB / 0.732 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.781e-05/0.005353, allocations: 35.94 kB / 0.7321 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.005597, allocations: 144.2 kB / 0.7322 GB, free: 1.875 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.617e-05/0.005613, allocations: 1.438 kB / 0.7322 GB, free: 1.875 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005614, allocations: 0 / 0.7322 GB, free: 1.875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.005634, allocations: 0 / 0.7322 GB, free: 1.875 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006216/0.006256, allocations: 363.8 kB / 0.7326 GB, free: 1.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.006302, allocations: 12.55 kB / 0.7326 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.00637, allocations: 17.92 kB / 0.7326 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.006582, allocations: 129.7 kB / 0.7327 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.006606, allocations: 12.38 kB / 0.7327 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.006641, allocations: 9.906 kB / 0.7327 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.006768, allocations: 71.86 kB / 0.7328 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.006779, allocations: 4.188 kB / 0.7328 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.006792, allocations: 4.375 kB / 0.7328 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-06/0.006801, allocations: 5.969 kB / 0.7328 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.006829, allocations: 15.92 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.00718, allocations: 288.3 kB / 0.7331 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.819e-05/0.007248, allocations: 41.66 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.007265, allocations: 10.94 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.007272, allocations: 8 kB / 0.7332 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.007426, allocations: 101 kB / 0.7333 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.007428, allocations: 1.406 kB / 0.7333 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001908/0.007619, allocations: 69.97 kB / 0.7333 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.007686, allocations: 85.11 kB / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.007787, allocations: 126.6 kB / 0.7335 GB, free: 368 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.00782, allocations: 30.3 kB / 0.7336 GB, free: 332 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.007883, allocations: 105.4 kB / 0.7337 GB, free: 224 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.007904, allocations: 19.83 kB / 0.7337 GB, free: 204 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.007988, allocations: 41.67 kB / 0.7337 GB, free: 156 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.008101, allocations: 322.8 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.008216, allocations: 99.91 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.008333, allocations: 137.6 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.008484, allocations: 157.3 kB / 0.7344 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.008488, allocations: 0 / 0.7344 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002868/0.008774, allocations: 273.5 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.008833, allocations: 64.44 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.008841, allocations: 4 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.008862, allocations: 4.766 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.428e-05/0.008886, allocations: 4 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.008891, allocations: 80 / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.009109, allocations: 37.91 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.009141, allocations: 15.97 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 9.894e-05/0.00924, allocations: 126.1 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.009255, allocations: 11.92 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.009286, allocations: 8 kB / 0.7349 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.00929, allocations: 9.188 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.009292, allocations: 0 / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.009296, allocations: 0 / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.9e-05/0.009385, allocations: 77.88 kB / 0.735 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.009387, allocations: 1.25 kB / 0.735 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.009399, allocations: 7.984 kB / 0.735 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.009415, allocations: 11.89 kB / 0.735 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009418, allocations: 0.625 kB / 0.735 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.009425, allocations: 4 kB / 0.735 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009426, allocations: 0.5312 kB / 0.735 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009427, allocations: 0.5938 kB / 0.735 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.009535, allocations: 97.89 kB / 0.7351 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.009548, allocations: 5.281 kB / 0.7351 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.009567, allocations: 0 / 0.7351 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.009597, allocations: 11.98 kB / 0.7351 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.009602, allocations: 1.219 kB / 0.7351 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.762e-05/0.009629, allocations: 21.33 kB / 0.7352 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.009629, allocations: 0 / 0.7352 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002069/0.009836, allocations: 39.94 kB / 0.7352 GB, free: 14.46 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001321/0.009968, allocations: 85.91 kB / 0.7353 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.01025, allocations: 267.6 kB / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.01026, allocations: 2.156 kB / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.01029, allocations: 20.84 kB / 0.7356 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.01051, allocations: 131.5 kB / 0.7357 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.01109, allocations: 189.8 kB / 0.7359 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.304e-05/0.01113, allocations: 70.11 kB / 0.7359 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.01116, allocations: 7.984 kB / 0.7359 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.0113, allocations: 79.34 kB / 0.736 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/0.01131, allocations: 0 / 0.736 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.00446/0.01577, allocations: 2.681 MB / 0.7386 GB, free: 10.95 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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: 4.788808700628579]