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.001416/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001614/0.001615, allocations: 193.1 kB / 16.14 MB, free: 6.719 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 65.84 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3373, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002392/0.3398, allocations: 0.6845 MB / 1.053 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3415, allocations: 1.131 MB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.3416, allocations: 4 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.3417, allocations: 7.922 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.3418, allocations: 3.938 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.3422, allocations: 111.2 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.3424, allocations: 163.7 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3426, allocations: 19.98 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.3427, allocations: 63.88 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.3428, allocations: 47.88 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.3429, allocations: 11.98 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.293e-05/0.343, allocations: 23.98 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.343, allocations: 19.92 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3432, allocations: 59.77 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.3435, allocations: 183.8 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.3435, allocations: 3.938 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3435, allocations: 11.94 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.3435, allocations: 0 / 1.055 GB, free: 6.262 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.0008226/0.3444, allocations: 462.6 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3444, allocations: 8.031 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.181e-05/0.3445, allocations: 12.92 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.3448, allocations: 220.2 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3448, allocations: 4.375 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.3449, allocations: 12.38 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3451, allocations: 103.9 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3451, allocations: 192 / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.3451, allocations: 7.938 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3451, allocations: 0 / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.3452, allocations: 43.95 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.3458, allocations: 0.489 MB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.338e-05/0.3459, allocations: 53.14 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.346, allocations: 25.77 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.346, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.3462, allocations: 125 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 2.534e-06/0.3462, allocations: 3.938 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003182/0.3465, allocations: 125.6 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3466, allocations: 89.03 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3467, allocations: 141.6 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.3468, allocations: 33.7 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.3469, allocations: 100 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.3469, allocations: 15.81 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.347, allocations: 57.69 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3472, allocations: 318.8 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.3475, allocations: 123.9 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.3477, allocations: 161 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.3479, allocations: 220.4 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.348, allocations: 0 / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005924/0.3486, allocations: 385.2 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/0.3486, allocations: 68.95 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3486, allocations: 0 / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3487, allocations: 4 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.192e-05/0.3487, allocations: 3.938 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.3487, allocations: 4 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.3491, allocations: 67.75 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.3492, allocations: 20 kB / 1.058 GB, free: 2.469 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.0001194/0.3493, allocations: 137.8 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.3493, allocations: 4 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.3493, allocations: 11.89 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3493, allocations: 0 / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3494, allocations: 4 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3494, allocations: 3.938 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.3495, allocations: 185.5 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3495, allocations: 0 / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-06/0.3496, allocations: 7.938 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3496, allocations: 0 / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3496, allocations: 8 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3496, allocations: 0 / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3496, allocations: 0 / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.3498, allocations: 129.9 kB / 1.058 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.3498, allocations: 88.95 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3498, allocations: 3.984 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.3499, allocations: 8 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.3499, allocations: 11.88 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.3499, allocations: 8.062 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.977e-05/0.35, allocations: 99.25 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.35, allocations: 0 / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002498/0.3502, allocations: 43.88 kB / 1.059 GB, free: 1.625 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.0001809/0.3504, allocations: 103.2 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004558/0.3509, allocations: 322.6 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3509, allocations: 0 / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.412e-05/0.351, allocations: 39.91 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.3513, allocations: 15.98 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.3517, allocations: 225.4 kB / 1.059 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.352, allocations: 0.7043 MB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.352, allocations: 4 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.352, allocations: 11.44 kB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3521, allocations: 3.938 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of Templates: time 0.005522/0.3576, allocations: 2.182 MB / 1.062 GB, free: 13.97 MB / 0.8262 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