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.001431/0.001431, allocations: 109.9 kB / 16.41 MB, free: 6.449 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.001611/0.001611, allocations: 188.3 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.538/1.538, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.001/3.001, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 67.89 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.043, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001981/1.045, allocations: 0.6187 MB / 1.221 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001739/1.046, allocations: 1.12 MB / 1.223 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/1.047, allocations: 0 / 1.223 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/1.047, allocations: 7.938 kB / 1.223 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/1.047, allocations: 7.922 kB / 1.223 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/1.047, allocations: 121.6 kB / 1.223 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002981/1.048, allocations: 203.7 kB / 1.223 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/1.048, allocations: 16 kB / 1.223 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/1.048, allocations: 83.81 kB / 1.223 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/1.048, allocations: 71.77 kB / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/1.048, allocations: 16 kB / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/1.048, allocations: 31.98 kB / 1.223 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/1.048, allocations: 23.92 kB / 1.223 GB, free: 0 / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/1.048, allocations: 67.94 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/1.049, allocations: 199 kB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.049, allocations: 0 / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.295e-06/1.049, allocations: 0 / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.295e-05/1.049, allocations: 0 / 1.223 GB, free: 15.74 MB / 0.9512 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.0007091/1.05, allocations: 456.7 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.05, allocations: 12.62 kB / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/1.05, allocations: 12.84 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/1.05, allocations: 224.2 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/1.05, allocations: 4.375 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/1.05, allocations: 24.36 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/1.05, allocations: 91.92 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-06/1.05, allocations: 192 / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/1.05, allocations: 7.938 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.05, allocations: 4 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/1.05, allocations: 39.91 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/1.051, allocations: 0.4889 MB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/1.051, allocations: 49.2 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/1.051, allocations: 37.69 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/1.051, allocations: 0 / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/1.051, allocations: 113.1 kB / 1.225 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/1.051, allocations: 0 / 1.225 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0003074/1.052, allocations: 129.5 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/1.052, allocations: 85.11 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/1.052, allocations: 129.8 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/1.052, allocations: 33.7 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/1.052, allocations: 111.9 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/1.052, allocations: 11.91 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/1.052, allocations: 53.62 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.052, allocations: 326.8 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/1.053, allocations: 123.9 kB / 1.226 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/1.053, allocations: 165 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/1.053, allocations: 216.8 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.053, allocations: 4 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006589/1.054, allocations: 384.6 kB / 1.227 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/1.054, allocations: 67.39 kB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.054, allocations: 4 kB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.054, allocations: 0 / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-05/1.054, allocations: 4 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.054, allocations: 3.938 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/1.054, allocations: 68.05 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/1.055, allocations: 15.92 kB / 1.227 GB, free: 11.96 MB / 0.9512 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.0001458/1.055, allocations: 134.4 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/1.055, allocations: 11.89 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/1.055, allocations: 7.906 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.055, allocations: 4 kB / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.055, allocations: 0 / 1.227 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/1.055, allocations: 81.02 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/1.055, allocations: 11.94 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.224e-05/1.055, allocations: 0 / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/1.055, allocations: 7.984 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002597/1.055, allocations: 252.1 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002889/1.056, allocations: 353.9 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.406e-05/1.056, allocations: 35.97 kB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.015e-05/1.056, allocations: 103.3 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of Backend: time 6.41e-07/1.056, allocations: 0 / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008957/1.057, allocations: 381.1 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008446/1.057, allocations: 0.6444 MB / 1.229 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of Templates: time 0.005312/1.063, allocations: 2.288 MB / 1.231 GB, free: 7.559 MB / 0.9512 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