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.001131/0.001131, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00533/0.006461, allocations: 449.7 kB / 10.37 MB, free: 328 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.001289/0.001289, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002862, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9978/0.9978, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09274/1.091, allocations: 53.64 MB / 243.3 MB, free: 15.59 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.837/1.837, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5433/2.38, allocations: 123.3 MB / 0.728 GB, free: 5.848 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 1.593e-06/1.593e-06, allocations: 0 / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.314e-05, allocations: 4.984 kB / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.00141/0.001423, allocations: 0.6779 MB / 0.73 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.002613, allocations: 1.177 MB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.002645, allocations: 0 / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.002684, allocations: 10.83 kB / 0.7311 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.034e-05/0.002725, allocations: 10.17 kB / 0.7312 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.002981, allocations: 115.6 kB / 0.7313 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.003192, allocations: 192.2 kB / 0.7315 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.828e-05/0.003261, allocations: 4 kB / 0.7315 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.003382, allocations: 115.1 kB / 0.7316 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006162/0.009544, allocations: 78.09 kB / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.009573, allocations: 12.66 kB / 0.7317 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.241e-05/0.009655, allocations: 35.92 kB / 0.7317 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.009696, allocations: 20.42 kB / 0.7317 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.009762, allocations: 43.36 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.009977, allocations: 135.6 kB / 0.7319 GB, free: 2.004 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.009988, allocations: 0 / 0.7319 GB, free: 2.004 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.81e-07/0.009989, allocations: 0 / 0.7319 GB, free: 2.004 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.01, allocations: 4.688 kB / 0.7319 GB, free: 2 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.0003734/0.01038, allocations: 363.8 kB / 0.7322 GB, free: 1.605 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.696e-05/0.0104, allocations: 9.75 kB / 0.7322 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.01044, allocations: 20.91 kB / 0.7323 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.01058, allocations: 141.6 kB / 0.7324 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.01059, allocations: 4.375 kB / 0.7324 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.01062, allocations: 16.38 kB / 0.7324 GB, free: 1.395 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.626e-05/0.0107, allocations: 68.69 kB / 0.7325 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.0107, allocations: 192 / 0.7325 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.01071, allocations: 0.875 kB / 0.7325 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.01071, allocations: 5.062 kB / 0.7325 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.01074, allocations: 19.86 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.01099, allocations: 282.1 kB / 0.7328 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.038e-05/0.01103, allocations: 41.2 kB / 0.7328 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.01105, allocations: 13.84 kB / 0.7328 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-06/0.01105, allocations: 4.531 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.01115, allocations: 102 kB / 0.7329 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 7.32e-07/0.01115, allocations: 0 / 0.7329 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001173/0.01127, allocations: 77.91 kB / 0.733 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.01131, allocations: 77.64 kB / 0.7331 GB, free: 0.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.01138, allocations: 135.7 kB / 0.7332 GB, free: 492 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.01141, allocations: 33.7 kB / 0.7332 GB, free: 452 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.01145, allocations: 96.08 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.01147, allocations: 24.53 kB / 0.7333 GB, free: 328 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.01154, allocations: 45.67 kB / 0.7334 GB, free: 276 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.01163, allocations: 315.4 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.01172, allocations: 103.4 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.01182, allocations: 145.4 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.01208, allocations: 145.8 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01209, allocations: 1.438 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.003257/0.01534, allocations: 280.2 kB / 0.7343 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.01538, allocations: 60.06 kB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.01539, allocations: 0 / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.01539, allocations: 5.562 kB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.592e-05/0.01541, allocations: 7.922 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.01541, allocations: 4 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.01558, allocations: 37 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.01561, allocations: 12.06 kB / 0.7345 GB, free: 15.06 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 7.667e-05/0.01568, allocations: 121.9 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.0157, allocations: 11.92 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.904e-05/0.01572, allocations: 8.875 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01572, allocations: 0 / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01572, allocations: 0.625 kB / 0.7346 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01573, allocations: 4 kB / 0.7346 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.682e-05/0.0158, allocations: 82.42 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.0158, allocations: 1.156 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.717e-06/0.01581, allocations: 11.92 kB / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.01582, allocations: 11.89 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.01582, allocations: 0.9688 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-06/0.01583, allocations: 3.938 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01583, allocations: 3.984 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01583, allocations: 1.25 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.347e-05/0.0159, allocations: 85.97 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.01592, allocations: 3.938 kB / 0.7348 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.01593, allocations: 5.031 kB / 0.7348 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.01595, allocations: 3.984 kB / 0.7348 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.01595, allocations: 4 kB / 0.7348 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.933e-05/0.01597, allocations: 25.39 kB / 0.7348 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01597, allocations: 5.688 kB / 0.7348 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000185/0.01616, allocations: 35.94 kB / 0.7349 GB, free: 14.59 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 8.846e-05/0.01625, allocations: 88.41 kB / 0.735 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.01653, allocations: 257 kB / 0.7352 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.01654, allocations: 0 / 0.7352 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.01657, allocations: 25.73 kB / 0.7352 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.01668, allocations: 25.44 kB / 0.7353 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.01712, allocations: 194.5 kB / 0.7354 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.576e-05/0.01715, allocations: 63.34 kB / 0.7355 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.01718, allocations: 9.172 kB / 0.7355 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.01729, allocations: 75.34 kB / 0.7356 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.01729, allocations: 0 / 0.7356 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.01022/0.02751, allocations: 2.726 MB / 0.7382 GB, free: 11.16 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.89320748206228]