Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_9_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.007417/0.007418, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001378/0.001378, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.78 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2985, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001787/0.3003, allocations: 0.6223 MB / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3018, allocations: 1.122 MB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.3019, allocations: 4 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.302, allocations: 7.922 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.017e-05/0.3021, allocations: 7.984 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.3026, allocations: 126.9 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.3029, allocations: 203.6 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.303, allocations: 16 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3032, allocations: 79.88 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.3033, allocations: 67.84 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.3034, allocations: 16 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.914e-05/0.3035, allocations: 31.97 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.3035, allocations: 23.92 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3037, allocations: 67.77 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.3039, allocations: 194.4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3039, allocations: 11.94 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3039, allocations: 4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3039, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 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.000577/0.3045, allocations: 451.5 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3046, allocations: 8.031 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.3046, allocations: 38.73 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.3047, allocations: 12.84 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.305, allocations: 216.3 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.305, allocations: 12.31 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.305, allocations: 12.38 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3052, allocations: 99.86 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3052, allocations: 3.938 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3052, allocations: 4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3053, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.3053, allocations: 51.89 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.3059, allocations: 492.8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.857e-05/0.306, allocations: 53.14 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.306, allocations: 29.77 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.3061, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.3062, allocations: 120.9 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3062, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002789/0.3065, allocations: 137.8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.3066, allocations: 81.09 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3067, allocations: 137.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.3067, allocations: 29.7 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.3068, allocations: 104 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3069, allocations: 19.78 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.307, allocations: 53.69 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3071, allocations: 314.8 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.3073, allocations: 123.9 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.3075, allocations: 161 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.3078, allocations: 228.3 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3078, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005728/0.3084, allocations: 372.7 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/0.3085, allocations: 67.58 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3085, allocations: 4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3085, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.481e-05/0.3085, allocations: 4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.3085, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.3089, allocations: 79.75 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.309, allocations: 11.98 kB / 1.093 GB, free: 11.59 MB / 0.8575 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.0001416/0.3091, allocations: 147.7 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.3092, allocations: 7.906 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.3092, allocations: 7.906 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3092, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3092, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3092, allocations: 3.938 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3094, allocations: 189.6 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3094, allocations: 3.984 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.3094, allocations: 4 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3094, allocations: 4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3094, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3094, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.3095, allocations: 4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.3096, allocations: 141.8 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.3097, allocations: 81.02 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.3097, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.3097, allocations: 8 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.3098, allocations: 7.922 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.3098, allocations: 8 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.467e-05/0.3099, allocations: 95.27 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3099, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000259/0.3101, allocations: 39.98 kB / 1.094 GB, free: 10.75 MB / 0.8575 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.0004632/0.3106, allocations: 0.6765 MB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.311, allocations: 318.6 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.311, allocations: 0 / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.3111, allocations: 39.95 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.3114, allocations: 28.23 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.3143, allocations: 2.164 MB / 1.097 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.3147, allocations: 0.7002 MB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.243e-05/0.3147, allocations: 11.94 kB / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.3148, allocations: 27.36 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3148, allocations: 0 / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.3378, allocations: 3.48 MB / 1.101 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.255, allocations: 19.66 kB / 1.101 GB, free: 3.238 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches