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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 115.7 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 190.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 59.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002129/1.059, allocations: 0.6181 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002092/1.061, allocations: 1.123 MB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/1.061, allocations: 0 / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/1.061, allocations: 3.938 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/1.061, allocations: 11.92 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006381/1.062, allocations: 126.8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/1.062, allocations: 195.7 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/1.062, allocations: 23.92 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/1.063, allocations: 71.94 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/1.063, allocations: 71.8 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/1.063, allocations: 16 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/1.063, allocations: 35.91 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/1.063, allocations: 27.91 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/1.063, allocations: 59.84 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003518/1.064, allocations: 199.1 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.064, allocations: 0 / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.144e-06/1.064, allocations: 4 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.064, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 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.0007407/1.064, allocations: 456.7 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.064, allocations: 12.03 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.316e-05/1.064, allocations: 12.84 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/1.065, allocations: 212.3 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/1.065, allocations: 16.3 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/1.065, allocations: 12.38 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/1.065, allocations: 95.92 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.065, allocations: 4.125 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/1.065, allocations: 7.938 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/1.065, allocations: 4 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.397e-05/1.065, allocations: 47.89 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/1.066, allocations: 496.7 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/1.066, allocations: 53.14 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/1.066, allocations: 29.77 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/1.066, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/1.066, allocations: 121 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/1.066, allocations: 0 / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003872/1.067, allocations: 129.5 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/1.067, allocations: 89.09 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/1.067, allocations: 129.8 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/1.067, allocations: 33.7 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/1.067, allocations: 96.03 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/1.067, allocations: 19.8 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/1.067, allocations: 53.69 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.067, allocations: 322.8 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/1.068, allocations: 119.9 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/1.068, allocations: 169 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/1.068, allocations: 224.3 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.068, allocations: 0 / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005841/1.069, allocations: 376.6 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/1.069, allocations: 71.39 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.069, allocations: 0 / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.069, allocations: 4.375 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.108e-05/1.069, allocations: 0 / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.069, allocations: 7.984 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/1.069, allocations: 64.05 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/1.069, allocations: 15.92 kB / 1.214 GB, free: 7.246 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.0001402/1.069, allocations: 137.8 kB / 1.214 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/1.069, allocations: 11.89 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/1.07, allocations: 11.91 kB / 1.214 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.07, allocations: 3.984 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.07, allocations: 4 kB / 1.214 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/1.07, allocations: 81.11 kB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/1.07, allocations: 3.938 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/1.07, allocations: 0 / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/1.07, allocations: 7.984 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002362/1.07, allocations: 252.1 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003045/1.07, allocations: 357.9 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.571e-05/1.07, allocations: 35.91 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.52e-05/1.07, allocations: 103.2 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of Backend: time 6.21e-07/1.07, allocations: 0 / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009011/1.071, allocations: 381 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007759/1.072, allocations: 0.6406 MB / 1.216 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of Templates: time 0.005851/1.078, allocations: 2.329 MB / 1.219 GB, free: 2.793 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches