Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 104.5 kB / 18.05 MB, free: 4.32 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 184.5 kB / 21.17 MB, free: 1.211 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 249.7 MB, free: 3.383 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.78/2.78, allocations: 443.5 MB / 0.7307 GB, free: 14.05 MB / 0.5762 GB [Timeout remaining time 86] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.83 kB / 1.059 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3341, allocations: 160.7 MB / 1.216 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001845/0.3359, allocations: 0.6355 MB / 1.217 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3374, allocations: 1.121 MB / 1.218 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.3374, allocations: 0 / 1.218 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.3375, allocations: 7.938 kB / 1.218 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.212e-05/0.3376, allocations: 7.922 kB / 1.218 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.338, allocations: 119.7 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.3383, allocations: 191.6 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3384, allocations: 19.94 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3385, allocations: 79.88 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3387, allocations: 75.77 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.3387, allocations: 16 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-05/0.3388, allocations: 27.98 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.3389, allocations: 23.92 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.339, allocations: 67.81 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3393, allocations: 195.5 kB / 1.219 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3393, allocations: 0 / 1.219 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3393, allocations: 3.938 kB / 1.219 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.3393, allocations: 0 / 1.219 GB, free: 13.16 MB / 0.9669 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.000662/0.3399, allocations: 462.5 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.34, allocations: 8.031 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/0.3401, allocations: 16.89 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.3403, allocations: 216.3 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3403, allocations: 4.375 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.3404, allocations: 20.36 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3406, allocations: 95.86 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3406, allocations: 4.125 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3406, allocations: 7.938 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3406, allocations: 0 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.3407, allocations: 47.95 kB / 1.22 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.3413, allocations: 492.8 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.826e-05/0.3414, allocations: 61.12 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.3414, allocations: 25.77 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-06/0.3414, allocations: 0 / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.3416, allocations: 109 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.3416, allocations: 0 / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0003105/0.3419, allocations: 137.5 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.342, allocations: 77.11 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.3421, allocations: 133.8 kB / 1.221 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.3421, allocations: 37.69 kB / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.3422, allocations: 104 kB / 1.221 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.3423, allocations: 11.89 kB / 1.221 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3424, allocations: 53.69 kB / 1.221 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3425, allocations: 330.7 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.3427, allocations: 127.9 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.343, allocations: 161 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.3432, allocations: 216.4 kB / 1.222 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3432, allocations: 0 / 1.222 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005862/0.3438, allocations: 384.7 kB / 1.222 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.3439, allocations: 71.39 kB / 1.222 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3439, allocations: 0 / 1.222 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3439, allocations: 8 kB / 1.222 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.125e-05/0.3439, allocations: 3.938 kB / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3439, allocations: 8.188 kB / 1.222 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.3443, allocations: 59.91 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.3443, allocations: 11.94 kB / 1.222 GB, free: 9.379 MB / 0.9669 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.0001338/0.3445, allocations: 133.8 kB / 1.222 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.3445, allocations: 11.94 kB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.3445, allocations: 15.91 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3445, allocations: 0 / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3445, allocations: 0 / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.3446, allocations: 85.44 kB / 1.222 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.3446, allocations: 3.938 kB / 1.222 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.306e-05/0.3446, allocations: 3.984 kB / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.3447, allocations: 7.938 kB / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002187/0.3449, allocations: 256.2 kB / 1.223 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002569/0.3451, allocations: 361.9 kB / 1.223 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.772e-05/0.3452, allocations: 23.97 kB / 1.223 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.3452, allocations: 103.2 kB / 1.223 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of Backend: time 3.81e-07/0.3452, allocations: 4 kB / 1.223 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008303/0.3461, allocations: 367 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0006962/0.3468, allocations: 0.6387 MB / 1.224 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of Templates: time 0.005607/0.3524, allocations: 2.313 MB / 1.226 GB, free: 4.969 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] Warning: Resultfile and Reference have different end time points! Reffile[319]=0.000000 File[514]=1.000000 Error: Could not read variable booRep.y[1 in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable booRep.y[1 from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! Error: Could not read variable 1] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable 1] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! Error: Could not read variable booRep.y[2 in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable booRep.y[2 from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! Error: Could not read variable booRep.y[3 in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable booRep.y[3 from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat failed! [Timeout remaining time 300] Reference file matches