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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001598/0.001599, allocations: 116.7 kB / 16.37 MB, free: 6 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.002144/0.002145, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.496/2.496, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.53 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3572, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001835/0.3591, allocations: 0.6253 MB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3603, allocations: 1.127 MB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.3604, allocations: 4 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.145e-05/0.3605, allocations: 7.922 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.253e-05/0.3606, allocations: 7.938 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.361, allocations: 119.4 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.3613, allocations: 195.7 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3614, allocations: 20 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.3615, allocations: 79.89 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3617, allocations: 75.7 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.3617, allocations: 16 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.3618, allocations: 31.92 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.3619, allocations: 23.97 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.362, allocations: 67.77 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3622, allocations: 199.5 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3623, allocations: 4 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3623, allocations: 0 / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5e-06/0.3623, allocations: 0 / 1.029 GB, free: 15.45 MB / 0.8106 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.0005366/0.3628, allocations: 450.7 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3629, allocations: 8.031 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.3629, allocations: 20.84 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.3632, allocations: 224.2 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.3633, allocations: 12.25 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.3633, allocations: 16.38 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3635, allocations: 95.92 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.3635, allocations: 192 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3635, allocations: 3.938 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3635, allocations: 4 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.121e-05/0.3636, allocations: 43.91 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.3643, allocations: 492.8 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.016e-05/0.3644, allocations: 57.12 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.3644, allocations: 29.75 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.3644, allocations: 4 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.3646, allocations: 116.9 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3646, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003257/0.365, allocations: 129.6 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.365, allocations: 81.11 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3652, allocations: 137.7 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.3652, allocations: 33.7 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.3653, allocations: 96.05 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.3653, allocations: 15.75 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.3655, allocations: 57.67 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3656, allocations: 322.8 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.3658, allocations: 127.9 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.3661, allocations: 161 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.3663, allocations: 224.3 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3663, allocations: 4 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005823/0.3669, allocations: 372.7 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.367, allocations: 63.39 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.367, allocations: 4.188 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3671, allocations: 4 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.668e-05/0.3671, allocations: 7.938 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3671, allocations: 0 / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.3675, allocations: 71.75 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.3675, allocations: 12 kB / 1.033 GB, free: 11.67 MB / 0.8106 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.00014/0.3677, allocations: 145.8 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.3677, allocations: 7.906 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.3677, allocations: 3.906 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3677, allocations: 7.938 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3677, allocations: 0 / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3678, allocations: 3.938 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.3679, allocations: 185.6 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3679, allocations: 4 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.368, allocations: 0 / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.368, allocations: 3.984 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.368, allocations: 8.375 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.368, allocations: 0 / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.368, allocations: 0 / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.3682, allocations: 141.8 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.3683, allocations: 85.02 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.3683, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.3683, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.3684, allocations: 19.92 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.3684, allocations: 4 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.933e-05/0.3685, allocations: 95.27 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3685, allocations: 0 / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002891/0.3688, allocations: 39.94 kB / 1.033 GB, free: 10.82 MB / 0.8106 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.0002103/0.369, allocations: 103.2 kB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005331/0.3695, allocations: 326.8 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.3695, allocations: 0 / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.93e-05/0.3696, allocations: 39.91 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.3699, allocations: 15.98 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.3704, allocations: 203.3 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.3707, allocations: 0.7119 MB / 1.035 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.3708, allocations: 11.98 kB / 1.035 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.3708, allocations: 15.38 kB / 1.035 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3708, allocations: 0 / 1.035 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of Templates: time 0.005667/0.3765, allocations: 2.247 MB / 1.037 GB, free: 7.094 MB / 0.8106 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 -s cvode -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