Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_9_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_9_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.00921/0.00921, allocations: 96.84 kB / 15.73 MB, free: 6.055 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.001721/0.001721, allocations: 192.8 kB / 16.67 MB, free: 5.965 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.098, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002205/1.101, allocations: 0.6327 MB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001998/1.103, allocations: 1.122 MB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/1.103, allocations: 0.9688 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/1.103, allocations: 4.641 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.917e-05/1.103, allocations: 11.39 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/1.104, allocations: 123.6 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003748/1.104, allocations: 195.5 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/1.104, allocations: 16.09 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/1.104, allocations: 81.97 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/1.104, allocations: 68.23 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/1.105, allocations: 19.03 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/1.105, allocations: 29.62 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/1.105, allocations: 23.55 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/1.105, allocations: 66.91 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/1.105, allocations: 202.3 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/1.105, allocations: 5.062 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.066e-06/1.105, allocations: 0 / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.105, allocations: 0 / 1.09 GB, free: 3.992 MB / 0.8575 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.0005742/1.106, allocations: 454.9 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.106, allocations: 9.719 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/1.106, allocations: 13.77 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/1.106, allocations: 213.8 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/1.106, allocations: 6 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/1.106, allocations: 18.48 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/1.107, allocations: 94.42 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.107, allocations: 8.812 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/1.107, allocations: 8.625 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/1.107, allocations: 6.047 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/1.107, allocations: 39.09 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/1.107, allocations: 499.9 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/1.108, allocations: 50.72 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/1.108, allocations: 31.7 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/1.108, allocations: 5.25 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/1.108, allocations: 118.7 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/1.108, allocations: 0 / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003451/1.108, allocations: 126.7 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/1.108, allocations: 84.36 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/1.108, allocations: 131.3 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/1.108, allocations: 34.34 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/1.108, allocations: 101.8 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/1.108, allocations: 19.56 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/1.109, allocations: 52.59 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/1.109, allocations: 323.4 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/1.109, allocations: 125.4 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/1.109, allocations: 159.8 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/1.11, allocations: 220.1 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.11, allocations: 0.7031 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006964/1.11, allocations: 374.8 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-05/1.11, allocations: 72.73 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.11, allocations: 1.438 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/1.11, allocations: 3.078 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.006e-05/1.11, allocations: 6.641 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.11, allocations: 1.406 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/1.111, allocations: 75.33 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/1.111, allocations: 13.34 kB / 1.094 GB, free: 1.41 MB / 0.8575 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.0001467/1.111, allocations: 144.9 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/1.111, allocations: 7.312 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/1.111, allocations: 10.92 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.111, allocations: 2.469 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.111, allocations: 0.7812 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.111, allocations: 4.953 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/1.111, allocations: 180.3 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/1.111, allocations: 1.125 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.148e-05/1.111, allocations: 2.516 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/1.111, allocations: 4.688 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/1.111, allocations: 10.62 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.111, allocations: 1.094 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.111, allocations: 384 / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/1.112, allocations: 129.1 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/1.112, allocations: 91.53 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/1.112, allocations: 2.922 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.239e-05/1.112, allocations: 9.531 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/1.112, allocations: 9.672 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/1.112, allocations: 2.953 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.435e-05/1.112, allocations: 97.48 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.112, allocations: 0.6875 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003149/1.112, allocations: 36.02 kB / 1.094 GB, free: 0.7617 MB / 0.8575 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.0002501/1.113, allocations: 106.7 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006905/1.113, allocations: 330 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.113, allocations: 0.7188 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.834e-05/1.113, allocations: 30.22 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/1.114, allocations: 22.08 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/1.114, allocations: 224.7 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/1.115, allocations: 0.7024 MB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.77e-05/1.115, allocations: 6.922 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/1.115, allocations: 11.56 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of SimCode: time 1.493e-06/1.115, allocations: 0 / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.007784/1.123, allocations: 2.313 MB / 1.098 GB, free: 15.37 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches