Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.001052/0.001052, allocations: 108 kB / 15.61 MB, free: 152 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.001133/0.001133, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.503/2.503, allocations: 437.1 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 63.91 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6339, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002111/0.636, allocations: 0.6719 MB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009701/0.637, allocations: 0.839 MB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.6371, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.6372, allocations: 7.938 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.6373, allocations: 7.938 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.6375, allocations: 15.98 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.6376, allocations: 75.81 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.6378, allocations: 35.91 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.6379, allocations: 35.91 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.638, allocations: 39.89 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.638, allocations: 4 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.069e-05/0.638, allocations: 8 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.6381, allocations: 27.91 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.6382, allocations: 31.8 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.6383, allocations: 97.98 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.6383, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6383, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.6384, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006972/0.6391, allocations: 399.2 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6391, allocations: 8.031 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.6392, allocations: 42.73 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.6392, allocations: 8.844 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.6394, allocations: 192.2 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.6394, allocations: 4.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.6395, allocations: 8.375 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.6399, allocations: 171.6 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.6399, allocations: 7.875 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.6399, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.6399, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.6404, allocations: 163.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.6409, allocations: 448.6 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.6412, allocations: 113.1 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.6415, allocations: 77.7 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.6415, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.6415, allocations: 38.56 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.6415, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.00072/0.6423, allocations: 225.5 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.6423, allocations: 77.11 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.6424, allocations: 133.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.6424, allocations: 25.7 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.6425, allocations: 99.97 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.6425, allocations: 12.05 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.6426, allocations: 25.86 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.6427, allocations: 314.8 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.6429, allocations: 67.91 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.6431, allocations: 81.58 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.6434, allocations: 129.5 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6435, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004399/0.6439, allocations: 165.4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.6439, allocations: 8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.6439, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.644, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.6441, allocations: 27.97 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.6442, allocations: 3.938 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.6443, allocations: 19.97 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.6443, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001167/0.6444, allocations: 129.8 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.6445, allocations: 4.281 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.6445, allocations: 15.52 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.6445, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.6445, allocations: 3.938 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6445, allocations: 7.938 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.6448, allocations: 189.6 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6448, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.645, allocations: 27.91 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.645, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.645, allocations: 8 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.645, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.645, allocations: 3.938 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.6455, allocations: 326.7 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.6456, allocations: 85 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.6456, allocations: 8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.6458, allocations: 11.98 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.6459, allocations: 27.89 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.6459, allocations: 4 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.775e-05/0.6459, allocations: 95.2 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.646, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000264/0.6462, allocations: 19.94 kB / 1.023 GB, free: 12.22 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: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000782/0.647, allocations: 0.8678 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004484/0.6475, allocations: 140 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6475, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.6477, allocations: 91.83 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.6481, allocations: 20.17 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.6503, allocations: 1.677 MB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.6505, allocations: 0.7041 MB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.329e-05/0.6506, allocations: 15.98 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.6507, allocations: 31.42 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6507, allocations: 288 / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.668, allocations: 2.377 MB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.731, allocations: 18.19 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_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_IntegerVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches