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.001148/0.001148, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.00263, allocations: 435.8 kB / 10.33 MB, free: 368 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.001064/0.001064, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002434, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0842/1.085, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.391/2.391, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2524/2.643, allocations: 145.9 MB / 0.817 GB, free: 4.234 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.474e-06/2.474e-06, allocations: 0 / 0.8183 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.934e-05, allocations: 10.25 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002104/0.002134, allocations: 0.6868 MB / 0.819 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003202, allocations: 1.17 MB / 0.8201 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.003242, allocations: 0 / 0.8201 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.172e-05/0.003303, allocations: 7.922 kB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.003356, allocations: 7.938 kB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.003639, allocations: 115.6 kB / 0.8202 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.003852, allocations: 183.7 kB / 0.8204 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.003944, allocations: 11.98 kB / 0.8204 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.004057, allocations: 111.9 kB / 0.8205 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.004195, allocations: 79.84 kB / 0.8206 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.004222, allocations: 16 kB / 0.8206 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.737e-05/0.004299, allocations: 27.92 kB / 0.8206 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.004343, allocations: 31.86 kB / 0.8207 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.004404, allocations: 35.98 kB / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.004572, allocations: 139.7 kB / 0.8208 GB, free: 312 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.004585, allocations: 4 kB / 0.8208 GB, free: 308 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.372e-06/0.004586, allocations: 3.938 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.0046, allocations: 0 / 0.8208 GB, free: 304 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004244/0.005024, allocations: 367.7 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.005054, allocations: 12.62 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.005092, allocations: 12.92 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.005228, allocations: 133.7 kB / 0.8214 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.005239, allocations: 8.375 kB / 0.8214 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.00526, allocations: 12.38 kB / 0.8214 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.228e-05/0.005342, allocations: 67.88 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.00535, allocations: 4.188 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.005358, allocations: 4.375 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.005362, allocations: 4.359 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.005383, allocations: 15.92 kB / 0.8215 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.005615, allocations: 288.3 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.685e-05/0.005662, allocations: 45.22 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.161e-05/0.005673, allocations: 9.719 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-06/0.005678, allocations: 8 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.005791, allocations: 97.05 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.005793, allocations: 7.938 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001232/0.005916, allocations: 69.66 kB / 0.822 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.005957, allocations: 85.05 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.28e-05/0.00602, allocations: 130.5 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.006044, allocations: 33.7 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.006084, allocations: 100.1 kB / 0.8223 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.006095, allocations: 15.88 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.006161, allocations: 45.67 kB / 0.8224 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.006226, allocations: 322.8 kB / 0.8227 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.006302, allocations: 95.38 kB / 0.8228 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.006381, allocations: 140.5 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.878e-05/0.00648, allocations: 152.4 kB / 0.823 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006482, allocations: 0 / 0.823 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002002/0.006682, allocations: 276.2 kB / 0.8233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.006722, allocations: 63.39 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.006729, allocations: 4 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.852e-06/0.006735, allocations: 192 / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.79e-05/0.006753, allocations: 8 kB / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.006756, allocations: 0 / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.006908, allocations: 43.91 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.006928, allocations: 12 kB / 0.8234 GB, free: 13.34 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.0002087/0.007136, allocations: 128.6 kB / 0.8235 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.007146, allocations: 7.938 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.007166, allocations: 4 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007169, allocations: 8.375 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.007172, allocations: 3.984 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.007175, allocations: 0 / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.39e-05/0.007239, allocations: 89.86 kB / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.00724, allocations: 0 / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-06/0.007244, allocations: 0 / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.007254, allocations: 15.88 kB / 0.8237 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.007255, allocations: 0 / 0.8237 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.00726, allocations: 7.938 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.007261, allocations: 0 / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007262, allocations: 0 / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.692e-05/0.007329, allocations: 97.91 kB / 0.8238 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.00734, allocations: 11.92 kB / 0.8238 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/0.007352, allocations: 0 / 0.8238 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.00737, allocations: 4 kB / 0.8238 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.007374, allocations: 3.984 kB / 0.8238 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.603e-05/0.00739, allocations: 21.33 kB / 0.8238 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.00739, allocations: 0 / 0.8238 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001336/0.007523, allocations: 39.94 kB / 0.8238 GB, free: 12.86 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.0001015/0.007625, allocations: 84.41 kB / 0.8239 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.007808, allocations: 259 kB / 0.8242 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.007812, allocations: 4 kB / 0.8242 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.086e-05/0.007832, allocations: 20.78 kB / 0.8242 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.007939, allocations: 23.98 kB / 0.8242 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.008349, allocations: 185.6 kB / 0.8244 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.008381, allocations: 71.19 kB / 0.8245 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.0084, allocations: 8.375 kB / 0.8245 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.008502, allocations: 75.34 kB / 0.8245 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.008502, allocations: 0 / 0.8245 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.00356/0.01206, allocations: 2.727 MB / 0.8272 GB, free: 9.363 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.146647404879332]