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.00133/0.00133, allocations: 109.8 kB / 16.41 MB, free: 6.477 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.001376/0.001376, allocations: 183 kB / 17.34 MB, free: 5.754 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.294/1.294, allocations: 222.9 MB / 241 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 2.454/2.454, allocations: 461.9 MB / 0.7355 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001227, allocations: 59.91 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7464, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001815/0.7483, allocations: 0.6219 MB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.7497, allocations: 1.123 MB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.7498, allocations: 4 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.7499, allocations: 3.938 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.459e-05/0.75, allocations: 3.938 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.7505, allocations: 126.6 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.7508, allocations: 199.7 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.7509, allocations: 15.97 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.751, allocations: 79.89 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.7512, allocations: 67.78 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.7512, allocations: 23.94 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.19e-05/0.7513, allocations: 31.98 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.7514, allocations: 19.92 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.7515, allocations: 67.81 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.7518, allocations: 199.1 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7518, allocations: 0 / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7518, allocations: 0 / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.7518, allocations: 0 / 1.211 GB, free: 11.09 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.0005983/0.7524, allocations: 460.7 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7524, allocations: 16.03 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.7525, allocations: 12.84 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.7527, allocations: 216.3 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.7528, allocations: 8.375 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.7528, allocations: 12.38 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.753, allocations: 91.92 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.753, allocations: 192 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.753, allocations: 11.94 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.753, allocations: 0 / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.075e-05/0.7531, allocations: 51.89 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.7536, allocations: 492.6 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.651e-05/0.7537, allocations: 49.2 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.7537, allocations: 29.77 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.7538, allocations: 4 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.7539, allocations: 121 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.7539, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0002653/0.7542, allocations: 133.4 kB / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.7543, allocations: 85.09 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.7544, allocations: 133.8 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.7544, allocations: 33.7 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.7545, allocations: 96.05 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.7545, allocations: 19.8 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/0.7546, allocations: 53.69 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7547, allocations: 314.8 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.7549, allocations: 127.9 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.7551, allocations: 172.9 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.7554, allocations: 220.4 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7554, allocations: 4 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005203/0.7559, allocations: 381 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.756, allocations: 67.39 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.756, allocations: 4 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.756, allocations: 0 / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.232e-05/0.756, allocations: 4 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.756, allocations: 0 / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.7564, allocations: 79.91 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.7565, allocations: 11.98 kB / 1.214 GB, free: 7.297 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.0001162/0.7566, allocations: 137.8 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.7566, allocations: 7.906 kB / 1.214 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.7566, allocations: 7.906 kB / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7566, allocations: 0 / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7567, allocations: 0 / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.7567, allocations: 7.938 kB / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.7568, allocations: 189.6 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7568, allocations: 0 / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-06/0.7568, allocations: 4 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7568, allocations: 0 / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.7568, allocations: 0 / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.7569, allocations: 0 / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.7569, allocations: 4 kB / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.757, allocations: 145.7 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.7571, allocations: 77.11 kB / 1.215 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.7571, allocations: 0 / 1.215 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.7571, allocations: 4 kB / 1.215 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.7571, allocations: 11.92 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.7572, allocations: 4 kB / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.7572, allocations: 95.27 kB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.493e-06/0.7572, allocations: 0 / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002492/0.7575, allocations: 51.83 kB / 1.215 GB, free: 6.453 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.0001366/0.7576, allocations: 107.2 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.758, allocations: 330.6 kB / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.758, allocations: 0 / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.205e-05/0.7581, allocations: 51.95 kB / 1.215 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.7584, allocations: 12.36 kB / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.7588, allocations: 240.9 kB / 1.216 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.759, allocations: 0.6963 MB / 1.216 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.759, allocations: 11.44 kB / 1.216 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.759, allocations: 0 / 1.216 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of Templates: time 0.003424/0.7625, allocations: 1.786 MB / 1.218 GB, free: 3.16 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