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.001629/0.001629, allocations: 102.2 kB / 16.35 MB, free: 5.895 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.001883/0.001883, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.475/2.475, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.09 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.335, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001779/0.3368, allocations: 0.6271 MB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.338, allocations: 1.127 MB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.522e-05/0.3381, allocations: 0 / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.561e-05/0.3382, allocations: 7.938 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.369e-05/0.3383, allocations: 15.91 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.3387, allocations: 114.9 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.3389, allocations: 203.7 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3391, allocations: 16 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.3392, allocations: 79.8 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.3393, allocations: 71.83 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.3394, allocations: 12 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.3395, allocations: 35.92 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.3395, allocations: 23.92 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.3396, allocations: 63.83 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.3399, allocations: 203.4 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3399, allocations: 3.938 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3399, allocations: 4 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3399, allocations: 4 kB / 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.0005594/0.3405, allocations: 450.7 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3405, allocations: 8.031 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.3406, allocations: 12.84 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.3409, allocations: 224.2 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3409, allocations: 4.375 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.341, allocations: 16.36 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3411, allocations: 99.92 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3412, allocations: 192 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3412, allocations: 11.92 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3412, allocations: 4 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.866e-05/0.3413, allocations: 43.91 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.3418, allocations: 488.8 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.016e-05/0.3419, allocations: 53.2 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.342, allocations: 29.75 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.342, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.3421, allocations: 120.9 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.3422, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002603/0.3424, allocations: 133.5 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3425, allocations: 81.11 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.3426, allocations: 133.7 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.3426, allocations: 33.7 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.3427, allocations: 96.03 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3427, allocations: 23.73 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.747e-05/0.3428, allocations: 57.69 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.3429, allocations: 322.8 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.3431, allocations: 123.9 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.3433, allocations: 165.4 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.3436, allocations: 216.4 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3436, allocations: 0 / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005173/0.3441, allocations: 376.7 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/0.3441, allocations: 71.39 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3442, allocations: 0 / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.3442, allocations: 8.188 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.936e-05/0.3442, allocations: 3.938 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3442, allocations: 4 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.3446, allocations: 63.77 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.3446, allocations: 15.92 kB / 1.033 GB, free: 11.68 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.0001116/0.3447, allocations: 144.5 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.3448, allocations: 7.891 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.3448, allocations: 12.28 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3448, allocations: 0 / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3448, allocations: 0 / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3448, allocations: 7.938 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.345, allocations: 181.6 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.345, allocations: 0 / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-06/0.345, allocations: 4 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.345, allocations: 0 / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.345, allocations: 7.938 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.345, allocations: 15.98 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.345, allocations: 0 / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.3452, allocations: 129.8 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.3453, allocations: 85 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.3453, allocations: 4 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.193e-05/0.3453, allocations: 4 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.3453, allocations: 11.94 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3453, allocations: 3.984 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.267e-05/0.3454, allocations: 107.3 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3454, allocations: 0 / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002431/0.3457, allocations: 35.94 kB / 1.033 GB, free: 10.83 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.0001372/0.3458, allocations: 103.2 kB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.3462, allocations: 330.8 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.3462, allocations: 4.062 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.3463, allocations: 27.97 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.3465, allocations: 19.98 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.3469, allocations: 211.3 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3472, allocations: 0.7054 MB / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.3472, allocations: 8 kB / 1.035 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.3472, allocations: 11.44 kB / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3472, allocations: 3.938 kB / 1.035 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of Templates: time 0.004594/0.3518, allocations: 2.248 MB / 1.037 GB, free: 7.102 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 gbode -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