Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009612/0.0009612, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.002407, 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.0008038/0.0008038, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.001989, allocations: 475.6 kB / 11.79 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 1.042/1.042, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1251/1.167, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.507/2.507, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2611/2.769, allocations: 146 MB / 0.8176 GB, free: 3.82 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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.648e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002066/0.002093, allocations: 0.6844 MB / 0.8196 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.003488, allocations: 1.17 MB / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.003543, allocations: 0 / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.014e-05/0.003613, allocations: 11.86 kB / 0.8207 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.003673, allocations: 7.984 kB / 0.8207 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.004004, allocations: 111.6 kB / 0.8209 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.004256, allocations: 187.6 kB / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.004355, allocations: 12 kB / 0.821 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.004508, allocations: 115.8 kB / 0.8212 GB, free: 184 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.004743, allocations: 75.91 kB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.004781, allocations: 16 kB / 0.8212 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.004884, allocations: 27.92 kB / 0.8213 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.004938, allocations: 31.92 kB / 0.8213 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 7.193e-05/0.00501, allocations: 35.98 kB / 0.8213 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.005196, allocations: 143.6 kB / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.005207, allocations: 0 / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005208, allocations: 0 / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.005217, allocations: 4 kB / 0.8215 GB, free: 15.85 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004429/0.00566, allocations: 367.7 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.005691, allocations: 12.03 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.005737, allocations: 12.92 kB / 0.8219 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.005895, allocations: 137.6 kB / 0.822 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.00591, allocations: 8.375 kB / 0.822 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.005935, allocations: 12.38 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.589e-05/0.006031, allocations: 71.81 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.006039, allocations: 8.125 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.006047, allocations: 384 / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.006052, allocations: 384 / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.006071, allocations: 19.92 kB / 0.8221 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.006342, allocations: 292.3 kB / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.72e-05/0.00639, allocations: 37.28 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.006404, allocations: 17.64 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.006409, allocations: 8 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.006528, allocations: 93.05 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.006529, allocations: 0 / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001399/0.006669, allocations: 73.59 kB / 0.8226 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.006714, allocations: 81.11 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.006798, allocations: 134.5 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.006827, allocations: 41.64 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.006881, allocations: 96.06 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.006895, allocations: 15.88 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.006955, allocations: 45.67 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.007022, allocations: 322.8 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/0.007119, allocations: 99.38 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.007205, allocations: 136.5 kB / 0.8235 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.007309, allocations: 156.4 kB / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.007311, allocations: 0 / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002009/0.007512, allocations: 272.2 kB / 0.8239 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.007556, allocations: 63.39 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.007562, allocations: 4 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.007573, allocations: 0 / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.007592, allocations: 7.938 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.007596, allocations: 4.188 kB / 0.824 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.007762, allocations: 47.86 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.007784, allocations: 11.98 kB / 0.8241 GB, free: 12.88 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: 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 0.0001327/0.007916, allocations: 124.7 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.007931, allocations: 7.938 kB / 0.8242 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.007953, allocations: 4 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007954, allocations: 4 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.007956, allocations: 3.938 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.00796, allocations: 7.984 kB / 0.8242 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.059e-05/0.008031, allocations: 89.86 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008032, allocations: 0 / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-06/0.008039, allocations: 0 / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.008047, allocations: 12.27 kB / 0.8243 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008049, allocations: 0 / 0.8243 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.008055, allocations: 4 kB / 0.8243 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.008056, allocations: 0 / 0.8243 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008057, allocations: 0 / 0.8243 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.008134, allocations: 85.95 kB / 0.8244 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.008145, allocations: 7.938 kB / 0.8244 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/0.008159, allocations: 11.92 kB / 0.8244 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.008179, allocations: 4 kB / 0.8244 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.008183, allocations: 4.062 kB / 0.8244 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.655e-05/0.0082, allocations: 16.84 kB / 0.8244 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0082, allocations: 0 / 0.8244 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001431/0.008343, allocations: 39.94 kB / 0.8245 GB, free: 12.41 MB / 0.8073 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.0001117/0.008455, allocations: 90.92 kB / 0.8246 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.008661, allocations: 263.3 kB / 0.8248 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.008665, allocations: 4.188 kB / 0.8248 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.008689, allocations: 20.84 kB / 0.8248 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.008844, allocations: 132.1 kB / 0.825 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.009297, allocations: 185.7 kB / 0.8251 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.432e-05/0.009331, allocations: 67.2 kB / 0.8252 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.009359, allocations: 4 kB / 0.8252 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.00947, allocations: 75.34 kB / 0.8253 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of SimCode: time 1.252e-06/0.009472, allocations: 4 kB / 0.8253 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of Templates: time 0.004019/0.01349, allocations: 2.684 MB / 0.8279 GB, free: 8.828 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator/Buildings_latest_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: 5.367007271386683]