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.001348/0.001348, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 472.6 MB / 0.7451 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 65.33 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3653, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002553/0.3679, allocations: 0.6246 MB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3697, allocations: 1.118 MB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.3698, allocations: 0 / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.37, allocations: 7.922 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.3701, allocations: 7.922 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.3706, allocations: 131.1 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.3709, allocations: 191.7 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.371, allocations: 15.98 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.3712, allocations: 87.81 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3714, allocations: 51.88 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.3714, allocations: 20 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3715, allocations: 27.98 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.3716, allocations: 23.92 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.3718, allocations: 67.81 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.3721, allocations: 199.8 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3721, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3721, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3721, allocations: 0 / 1.071 GB, free: 7.914 MB / 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.000693/0.3728, allocations: 454.6 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3729, allocations: 8.031 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.373, allocations: 20.83 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.3732, allocations: 216.2 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3733, allocations: 12.38 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.3733, allocations: 8.375 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3735, allocations: 99.92 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3735, allocations: 192 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3735, allocations: 7.938 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3736, allocations: 3.984 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.866e-05/0.3736, allocations: 43.91 kB / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.3742, allocations: 496.7 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.3743, allocations: 53.19 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.3744, allocations: 33.7 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.3744, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.3746, allocations: 117 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3746, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.000291/0.3749, allocations: 137.5 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.375, allocations: 85.09 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3752, allocations: 133.8 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.3752, allocations: 29.7 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.3753, allocations: 96.05 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.3753, allocations: 19.73 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3754, allocations: 53.69 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.3756, allocations: 322.8 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.3758, allocations: 127.8 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.376, allocations: 165 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.3763, allocations: 220.4 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3763, allocations: 0 / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005877/0.3769, allocations: 380.6 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.565e-05/0.377, allocations: 71.39 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.377, allocations: 0 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.377, allocations: 4 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.199e-05/0.377, allocations: 0 / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.377, allocations: 4 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.3775, allocations: 72.52 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.3775, allocations: 19.98 kB / 1.074 GB, free: 4.125 MB / 0.8262 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.0001357/0.3776, allocations: 131.7 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.3777, allocations: 3.906 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.3777, allocations: 11.91 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3777, allocations: 4.375 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.3777, allocations: 7.984 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3778, allocations: 3.938 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.378, allocations: 181.6 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.378, allocations: 4 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-06/0.378, allocations: 3.984 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.378, allocations: 0 / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3781, allocations: 8 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3781, allocations: 0 / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3781, allocations: 0 / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.3783, allocations: 141.7 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.3783, allocations: 77.11 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.3783, allocations: 8 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.203e-05/0.3784, allocations: 3.984 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.3784, allocations: 7.938 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3784, allocations: 7.938 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.355e-05/0.3785, allocations: 111.1 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3785, allocations: 4 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002689/0.3788, allocations: 39.84 kB / 1.075 GB, free: 3.273 MB / 0.8262 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.000173/0.379, allocations: 103.8 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.3795, allocations: 330.5 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3795, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.807e-05/0.3795, allocations: 35.97 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.3798, allocations: 16.36 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.3803, allocations: 211.2 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3806, allocations: 0.7041 MB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.3807, allocations: 11.78 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.3807, allocations: 15.44 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3807, allocations: 0 / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of Templates: time 0.005747/0.3864, allocations: 2.254 MB / 1.078 GB, free: 15.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=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/jenkins/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