Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_10_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.00114/0.00114, allocations: 108 kB / 15.6 MB, free: 132 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.001168/0.001168, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 67.89 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5988/0.6001, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002363/0.6025, allocations: 0.62 MB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.6041, allocations: 1.12 MB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.6042, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.6043, allocations: 3.938 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.6045, allocations: 11.92 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.6051, allocations: 119.3 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.6054, allocations: 203.7 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.6056, allocations: 16 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.6057, allocations: 87.81 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.6059, allocations: 51.88 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.606, allocations: 12 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.6061, allocations: 31.98 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.6062, allocations: 27.91 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.6064, allocations: 63.83 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.6067, allocations: 201.9 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6067, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6067, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.6067, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 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.0007198/0.6075, allocations: 458.5 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.6075, allocations: 8.031 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.6076, allocations: 34.75 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.6077, allocations: 16.84 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.608, allocations: 224.1 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.608, allocations: 4.375 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.539e-05/0.608, allocations: 24.36 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.6082, allocations: 91.92 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.6082, allocations: 3.938 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.6083, allocations: 7.938 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.6083, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.948e-05/0.6083, allocations: 35.97 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.6089, allocations: 496.7 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/0.609, allocations: 53.19 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.6091, allocations: 33.7 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.6091, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.6092, allocations: 117 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.6093, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002986/0.6096, allocations: 129.8 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.6096, allocations: 85.11 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.6097, allocations: 137.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.6098, allocations: 37.69 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.6099, allocations: 104 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.6099, allocations: 11.91 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.61, allocations: 49.69 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.6101, allocations: 318.8 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.6103, allocations: 131.8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.6106, allocations: 165 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.6109, allocations: 216.4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6109, allocations: 3.938 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005706/0.6114, allocations: 384.6 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.6115, allocations: 69.58 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6115, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.6116, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-05/0.6116, allocations: 7.938 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.6116, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.612, allocations: 79.88 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.6121, allocations: 11.98 kB / 1.023 GB, free: 12.04 MB / 0.7794 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.000144/0.6122, allocations: 133.8 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.6122, allocations: 4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.6123, allocations: 11.84 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6123, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6123, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6123, allocations: 3.938 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.6125, allocations: 189.6 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6125, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.6125, allocations: 3.984 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.6125, allocations: 4 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.6125, allocations: 4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6125, allocations: 3.938 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6125, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.6127, allocations: 137.8 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.6128, allocations: 85.08 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.6128, allocations: 4 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.564e-05/0.6128, allocations: 8 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.6129, allocations: 7.922 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.6129, allocations: 4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.564e-05/0.613, allocations: 99.75 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.613, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002639/0.6133, allocations: 36 kB / 1.024 GB, free: 11.21 MB / 0.7794 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.0005359/0.6138, allocations: 0.6795 MB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.6143, allocations: 326.5 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6143, allocations: 384 / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.6143, allocations: 47.89 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.6146, allocations: 24.48 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.617, allocations: 2.152 MB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.6172, allocations: 0.704 MB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.6173, allocations: 4 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.6173, allocations: 23.44 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.6173, allocations: 192 / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.6358, allocations: 3.454 MB / 1.031 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.65, allocations: 3.953 kB / 1.031 GB, free: 3.723 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches