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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002432/0.002432, allocations: 188.1 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 443.5 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,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.00229/0.00229, allocations: 68.08 kB / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 160.8 MB / 1.218 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001929/1.058, allocations: 0.6382 MB / 1.219 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001621/1.06, allocations: 1.124 MB / 1.22 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/1.06, allocations: 0 / 1.22 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/1.06, allocations: 7.922 kB / 1.22 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.36e-05/1.06, allocations: 7.938 kB / 1.22 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/1.06, allocations: 125.3 kB / 1.22 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/1.061, allocations: 187.6 kB / 1.221 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/1.061, allocations: 19.64 kB / 1.221 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/1.061, allocations: 83.88 kB / 1.221 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/1.061, allocations: 63.84 kB / 1.221 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/1.061, allocations: 16 kB / 1.221 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/1.061, allocations: 27.98 kB / 1.221 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/1.061, allocations: 23.92 kB / 1.221 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/1.062, allocations: 71.81 kB / 1.221 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/1.062, allocations: 194.5 kB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.062, allocations: 0 / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.674e-06/1.062, allocations: 7.875 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.062, allocations: 0 / 1.221 GB, free: 1.953 MB / 0.92 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.0006748/1.062, allocations: 466.5 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.063, allocations: 12.03 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/1.063, allocations: 12.89 kB / 1.221 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/1.063, allocations: 212.3 kB / 1.222 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/1.063, allocations: 4.375 kB / 1.222 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/1.063, allocations: 20.38 kB / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/1.063, allocations: 95.86 kB / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.063, allocations: 192 / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/1.063, allocations: 7.938 kB / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.063, allocations: 7.984 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.248e-05/1.063, allocations: 39.95 kB / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/1.064, allocations: 0.489 MB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/1.064, allocations: 53.14 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/1.064, allocations: 25.77 kB / 1.222 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/1.064, allocations: 0 / 1.222 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/1.064, allocations: 121 kB / 1.223 GB, free: 204 kB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/1.064, allocations: 0 / 1.223 GB, free: 204 kB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0003077/1.065, allocations: 129.5 kB / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/1.065, allocations: 93.03 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/1.065, allocations: 133.7 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/1.065, allocations: 33.7 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/1.065, allocations: 112 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/1.065, allocations: 7.953 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.065, allocations: 53.69 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.065, allocations: 322.8 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/1.065, allocations: 119.9 kB / 1.223 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/1.066, allocations: 161 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/1.066, allocations: 220.4 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.066, allocations: 0 / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006079/1.067, allocations: 380.9 kB / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.316e-05/1.067, allocations: 75.39 kB / 1.224 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.067, allocations: 0 / 1.224 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.067, allocations: 4 kB / 1.224 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.195e-05/1.067, allocations: 3.938 kB / 1.224 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.067, allocations: 7.984 kB / 1.224 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/1.067, allocations: 59.86 kB / 1.224 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/1.067, allocations: 23.92 kB / 1.224 GB, free: 14.16 MB / 0.9356 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.0001346/1.067, allocations: 137.8 kB / 1.224 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/1.067, allocations: 7.953 kB / 1.224 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/1.067, allocations: 8 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/1.067, allocations: 0 / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.067, allocations: 4.375 kB / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.067, allocations: 7.922 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/1.067, allocations: 185.6 kB / 1.225 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.067, allocations: 4 kB / 1.225 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-06/1.067, allocations: 3.938 kB / 1.225 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.067, allocations: 7.984 kB / 1.225 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.067, allocations: 4 kB / 1.225 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.067, allocations: 0 / 1.225 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.067, allocations: 0 / 1.225 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/1.068, allocations: 133.8 kB / 1.225 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/1.068, allocations: 85.06 kB / 1.225 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/1.068, allocations: 12 kB / 1.225 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/1.068, allocations: 4 kB / 1.225 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/1.068, allocations: 15.86 kB / 1.225 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/1.068, allocations: 4 kB / 1.225 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.296e-05/1.068, allocations: 103.2 kB / 1.225 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.068, allocations: 0 / 1.225 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000241/1.068, allocations: 32 kB / 1.225 GB, free: 13.31 MB / 0.9356 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.0001549/1.068, allocations: 103.2 kB / 1.225 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004612/1.069, allocations: 302.6 kB / 1.225 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.069, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.966e-05/1.069, allocations: 31.91 kB / 1.226 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/1.069, allocations: 22.05 kB / 1.226 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/1.069, allocations: 215.6 kB / 1.226 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/1.07, allocations: 0.7079 MB / 1.226 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.591e-05/1.07, allocations: 8 kB / 1.226 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/1.07, allocations: 11.44 kB / 1.226 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/1.07, allocations: 0 / 1.226 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.005373/1.075, allocations: 2.288 MB / 1.229 GB, free: 9.574 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/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[2514]=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 [Calling sys.exit(0), Time elapsed: 9.49661975633353]