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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001462/0.001462, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001413/0.001413, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.625/2.625, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 64.3 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7433/0.7451, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001881/0.7471, allocations: 0.6059 MB / 1.084 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.7483, allocations: 1.117 MB / 1.085 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.7484, allocations: 1.469 kB / 1.085 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.025e-05/0.7485, allocations: 4.594 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.7485, allocations: 14.5 kB / 1.085 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.7489, allocations: 119.3 kB / 1.085 GB, free: 372 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.7492, allocations: 198.5 kB / 1.085 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.7493, allocations: 21.25 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.7494, allocations: 81.64 kB / 1.085 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.7495, allocations: 52.53 kB / 1.085 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.7496, allocations: 14.53 kB / 1.085 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.7497, allocations: 29.36 kB / 1.085 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.7497, allocations: 27.95 kB / 1.085 GB, free: 224 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.7498, allocations: 61.94 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.7501, allocations: 206.4 kB / 1.085 GB, free: 132 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7501, allocations: 4 kB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7501, allocations: 0 / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.7501, allocations: 0 / 1.085 GB, free: 128 kB / 0.8262 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.0005762/0.7507, allocations: 456.9 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.7508, allocations: 9.219 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.7508, allocations: 13.28 kB / 1.086 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.7511, allocations: 209.9 kB / 1.086 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.7511, allocations: 6.203 kB / 1.086 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.7512, allocations: 15.39 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.7514, allocations: 101.1 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.7514, allocations: 5.281 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.7514, allocations: 12.62 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7514, allocations: 1.344 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.7515, allocations: 40.47 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.7521, allocations: 0.4928 MB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.131e-05/0.7522, allocations: 53.64 kB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.7523, allocations: 30.12 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-06/0.7523, allocations: 1.156 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.7525, allocations: 118.6 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.7525, allocations: 0 / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.000289/0.7528, allocations: 126.1 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.7529, allocations: 88.55 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.753, allocations: 130.4 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.753, allocations: 39.77 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.7531, allocations: 96.23 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.7532, allocations: 20.27 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.7533, allocations: 52.23 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.7535, allocations: 323.8 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.7537, allocations: 129.4 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.7539, allocations: 164.2 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.7542, allocations: 215.9 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7542, allocations: 0 / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006243/0.7549, allocations: 383.6 kB / 1.089 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.7549, allocations: 68.77 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.755, allocations: 6.469 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.755, allocations: 1.25 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.952e-05/0.755, allocations: 2.125 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.755, allocations: 5.516 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.7554, allocations: 68.5 kB / 1.089 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.7555, allocations: 20.62 kB / 1.089 GB, free: 13.53 MB / 0.8419 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.0001843/0.7557, allocations: 133.1 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.7557, allocations: 7.219 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.7557, allocations: 11.89 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7557, allocations: 1.406 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7557, allocations: 5.016 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.7557, allocations: 9.359 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.756, allocations: 179.9 kB / 1.089 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.756, allocations: 5.094 kB / 1.089 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.756, allocations: 5.906 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.756, allocations: 1.531 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.756, allocations: 6.438 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.756, allocations: 0 / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.756, allocations: 2.359 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.7562, allocations: 131.1 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.7564, allocations: 85.08 kB / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.7564, allocations: 7.203 kB / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.7564, allocations: 0 / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.7564, allocations: 13.59 kB / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.7565, allocations: 2.906 kB / 1.089 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.219e-05/0.7565, allocations: 105.3 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7565, allocations: 0 / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002579/0.7568, allocations: 36.45 kB / 1.089 GB, free: 12.89 MB / 0.8419 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.0001599/0.757, allocations: 107.4 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004947/0.7575, allocations: 329.4 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7575, allocations: 0.7188 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.7576, allocations: 46.94 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.7578, allocations: 21.5 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.7583, allocations: 246.8 kB / 1.09 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.7586, allocations: 0.6971 MB / 1.091 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.7586, allocations: 12.23 kB / 1.091 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.7587, allocations: 0 / 1.091 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of Templates: time 0.004017/0.7627, allocations: 1.778 MB / 1.093 GB, free: 11.54 MB / 0.8419 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=400 -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