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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_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.008019/0.008019, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.002187/0.002187, allocations: 194.3 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 482.4 MB / 0.7548 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2967, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001675/0.2984, allocations: 0.6296 MB / 1.242 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.2998, allocations: 1.104 MB / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.2999, allocations: 0 / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.881e-05/0.3, allocations: 7.938 kB / 1.243 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.3001, allocations: 15.92 kB / 1.243 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.3005, allocations: 121.9 kB / 1.243 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.3008, allocations: 191.7 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3009, allocations: 31.91 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.301, allocations: 75.89 kB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3012, allocations: 67.84 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/0.3012, allocations: 16 kB / 1.244 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.3013, allocations: 23.98 kB / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.3014, allocations: 31.91 kB / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3015, allocations: 67.81 kB / 1.244 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3018, allocations: 199.5 kB / 1.244 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3018, allocations: 0 / 1.244 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3018, allocations: 0 / 1.244 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.3018, allocations: 4 kB / 1.244 GB, free: 7.672 MB / 0.9981 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.0006172/0.3024, allocations: 466.4 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3025, allocations: 12.03 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.3025, allocations: 38.69 kB / 1.244 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.3026, allocations: 12.89 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.3029, allocations: 212.3 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3029, allocations: 8.359 kB / 1.245 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.3029, allocations: 12.38 kB / 1.245 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.3031, allocations: 103.9 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3031, allocations: 3.938 kB / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3031, allocations: 4 kB / 1.245 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3031, allocations: 0 / 1.245 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.197e-05/0.3032, allocations: 39.97 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.3038, allocations: 496.7 kB / 1.245 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/0.3039, allocations: 61.12 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.304, allocations: 25.77 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-06/0.304, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.3042, allocations: 125 kB / 1.246 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3042, allocations: 0 / 1.246 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003047/0.3045, allocations: 126 kB / 1.246 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3045, allocations: 89.05 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3047, allocations: 129.8 kB / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.3047, allocations: 41.62 kB / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.3048, allocations: 100 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3048, allocations: 7.953 kB / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.305, allocations: 61.67 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3051, allocations: 314.8 kB / 1.246 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.3053, allocations: 123.9 kB / 1.246 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.3056, allocations: 165 kB / 1.247 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.3059, allocations: 224.4 kB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3059, allocations: 0 / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006181/0.3065, allocations: 380.7 kB / 1.247 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/0.3066, allocations: 71.39 kB / 1.247 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3066, allocations: 0 / 1.247 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3066, allocations: 4.188 kB / 1.247 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.668e-05/0.3067, allocations: 7.938 kB / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3067, allocations: 8 kB / 1.247 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.3071, allocations: 67.78 kB / 1.247 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.3071, allocations: 12 kB / 1.247 GB, free: 3.836 MB / 0.9981 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.0001281/0.3073, allocations: 145.8 kB / 1.247 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.3073, allocations: 7.953 kB / 1.248 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.3073, allocations: 11.91 kB / 1.248 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3073, allocations: 0 / 1.248 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3073, allocations: 4 kB / 1.248 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3073, allocations: 3.938 kB / 1.248 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.3075, allocations: 181.6 kB / 1.248 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3075, allocations: 4 kB / 1.248 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/0.3075, allocations: 0 / 1.248 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3076, allocations: 0 / 1.248 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3076, allocations: 11.98 kB / 1.248 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3076, allocations: 4 kB / 1.248 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3076, allocations: 0 / 1.248 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3078, allocations: 133.8 kB / 1.248 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.3078, allocations: 81.06 kB / 1.248 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3079, allocations: 4 kB / 1.248 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.3079, allocations: 7.938 kB / 1.248 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.3079, allocations: 15.86 kB / 1.248 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.3079, allocations: 4 kB / 1.248 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.789e-05/0.308, allocations: 99.27 kB / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.308, allocations: 0 / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002545/0.3083, allocations: 36 kB / 1.248 GB, free: 2.988 MB / 0.9981 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.0005361/0.3088, allocations: 0.6829 MB / 1.249 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004758/0.3093, allocations: 326.5 kB / 1.249 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3093, allocations: 0 / 1.249 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/0.3094, allocations: 31.98 kB / 1.249 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3096, allocations: 20.11 kB / 1.249 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4847/0.7944, allocations: 2.179 MB / 1.251 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.7945, allocations: 0.7041 MB / 1.252 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.084e-05/0.7946, allocations: 9.594 kB / 1.252 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.7946, allocations: 21.33 kB / 1.252 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.7947, allocations: 1.75 kB / 1.252 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.8209, allocations: 3.477 MB / 1.255 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.562, allocations: 2.141 kB / 1.255 GB, free: 13.41 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv","/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