Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008101/0.008101, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.00213/0.00213, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002855/0.002855, allocations: 72.08 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3239, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001695/0.3256, allocations: 0.6401 MB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3271, allocations: 1.114 MB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.3271, allocations: 0 / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.937e-05/0.3272, allocations: 3.938 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.301e-05/0.3273, allocations: 11.92 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.3278, allocations: 119.7 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.3281, allocations: 199.6 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3282, allocations: 19.98 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.962e-05/0.3283, allocations: 83.88 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3285, allocations: 63.84 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.3285, allocations: 16 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.18e-05/0.3286, allocations: 31.92 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.3287, allocations: 27.91 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3288, allocations: 67.81 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.3291, allocations: 199.5 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3291, allocations: 3.938 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3291, allocations: 0 / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3291, allocations: 0 / 1.223 GB, free: 11.71 MB / 0.9825 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.0005901/0.3297, allocations: 462.5 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3297, allocations: 8.031 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.3298, allocations: 34.75 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.3298, allocations: 12.89 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.3301, allocations: 216.3 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3301, allocations: 12.36 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.3301, allocations: 8.375 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3303, allocations: 99.92 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3303, allocations: 7.938 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3304, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3304, allocations: 3.938 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/0.3305, allocations: 47.91 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.331, allocations: 496.7 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.3311, allocations: 61.17 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.3312, allocations: 25.77 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.3312, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.3313, allocations: 113 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.51e-07/0.3314, allocations: 4 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002899/0.3317, allocations: 133.5 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.3317, allocations: 81.09 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3318, allocations: 141.7 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.3319, allocations: 33.69 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.332, allocations: 104 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.332, allocations: 7.953 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.3321, allocations: 57.67 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3323, allocations: 318.8 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.3325, allocations: 127.9 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.3327, allocations: 165 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.333, allocations: 220.4 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.333, allocations: 0 / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005946/0.3336, allocations: 376.7 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.3337, allocations: 67.39 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3337, allocations: 0 / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3337, allocations: 4 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.17e-05/0.3337, allocations: 8.188 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3338, allocations: 7.938 kB / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.3342, allocations: 75.73 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.3342, allocations: 8 kB / 1.226 GB, free: 7.883 MB / 0.9825 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.0001342/0.3344, allocations: 141.8 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.3344, allocations: 4 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.3344, allocations: 11.91 kB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3344, allocations: 0 / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3344, allocations: 0 / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3344, allocations: 7.938 kB / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.3346, allocations: 185.6 kB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3346, allocations: 0 / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-06/0.3346, allocations: 4.375 kB / 1.226 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3346, allocations: 0 / 1.226 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3347, allocations: 3.984 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3347, allocations: 4 kB / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3347, allocations: 4 kB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.3349, allocations: 145.7 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.3349, allocations: 88.98 kB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.335, allocations: 4 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.335, allocations: 0 / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.335, allocations: 15.92 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.335, allocations: 0 / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.812e-05/0.3351, allocations: 103.3 kB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3351, allocations: 0 / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002504/0.3354, allocations: 32 kB / 1.227 GB, free: 7.035 MB / 0.9825 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.0005576/0.3359, allocations: 0.68 MB / 1.227 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004745/0.3364, allocations: 330.6 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3364, allocations: 0 / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.3365, allocations: 35.92 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.3368, allocations: 18.8 kB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.3394, allocations: 2.184 MB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.3397, allocations: 0.708 MB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.3398, allocations: 8 kB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.3398, allocations: 23.36 kB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3398, allocations: 4 kB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.3648, allocations: 3.471 MB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.945, allocations: 7.922 kB / 1.234 GB, free: 15.52 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches