Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.IntegerVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_9_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.001633/0.001633, 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.002008/0.002008, allocations: 193 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.591/2.591, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7237, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001807/0.7255, allocations: 0.6575 MB / 0.9504 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007834/0.7263, allocations: 0.8364 MB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.7264, allocations: 5.438 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.593e-05/0.7265, allocations: 3.938 kB / 0.9512 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.231e-05/0.7266, allocations: 18.52 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001035/0.7267, allocations: 11.77 kB / 0.9512 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.7269, allocations: 73.14 kB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.727, allocations: 28.86 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.324e-05/0.7271, allocations: 43.39 kB / 0.9514 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.059e-05/0.7272, allocations: 39.92 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.7272, allocations: 5.312 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.775e-05/0.7272, allocations: 4.219 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.7273, allocations: 30.28 kB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.7273, allocations: 36.53 kB / 0.9515 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.7274, allocations: 92.42 kB / 0.9516 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7275, allocations: 0 / 0.9516 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7275, allocations: 0 / 0.9516 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.7275, allocations: 1.281 kB / 0.9516 GB, free: 7.762 MB / 0.7169 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.0005331/0.728, allocations: 400.8 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.7281, allocations: 10.41 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.7281, allocations: 36.16 kB / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.7281, allocations: 16.75 kB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.7283, allocations: 194.1 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.7283, allocations: 3.438 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.7283, allocations: 9.031 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.7287, allocations: 161.5 kB / 0.9524 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.7287, allocations: 5.094 kB / 0.9524 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.7287, allocations: 4 kB / 0.9524 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.7287, allocations: 6.656 kB / 0.9524 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.7292, allocations: 147.8 kB / 0.9525 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.7296, allocations: 446.6 kB / 0.9529 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.7299, allocations: 113.4 kB / 0.9531 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.7301, allocations: 80.88 kB / 0.9531 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.7301, allocations: 1.094 kB / 0.9531 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.7302, allocations: 35.69 kB / 0.9532 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7302, allocations: 1.25 kB / 0.9532 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0007394/0.7309, allocations: 227 kB / 0.9534 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.731, allocations: 78.83 kB / 0.9535 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.731, allocations: 130 kB / 0.9536 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.7311, allocations: 29.64 kB / 0.9536 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.7311, allocations: 96.48 kB / 0.9537 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.7311, allocations: 18.17 kB / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.7312, allocations: 28.48 kB / 0.9537 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.558e-05/0.7312, allocations: 316.5 kB / 0.9541 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.7314, allocations: 62.52 kB / 0.9541 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.7316, allocations: 84.34 kB / 0.9542 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.732, allocations: 125.4 kB / 0.9543 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.732, allocations: 0 / 0.9543 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004312/0.7325, allocations: 166 kB / 0.9545 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.7325, allocations: 7.125 kB / 0.9545 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.7325, allocations: 3.984 kB / 0.9545 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.7325, allocations: 1.375 kB / 0.9545 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.7327, allocations: 26.56 kB / 0.9545 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.7327, allocations: 3.938 kB / 0.9545 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.7328, allocations: 13.48 kB / 0.9545 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.7328, allocations: 6.484 kB / 0.9545 GB, free: 5.18 MB / 0.7169 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 8.236e-05/0.7329, allocations: 128.5 kB / 0.9547 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.733, allocations: 2.375 kB / 0.9547 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.733, allocations: 13.78 kB / 0.9547 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.733, allocations: 5.312 kB / 0.9547 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.733, allocations: 3.938 kB / 0.9547 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.733, allocations: 1.219 kB / 0.9547 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.7332, allocations: 196.5 kB / 0.9549 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7333, allocations: 7.969 kB / 0.9549 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.7334, allocations: 26.16 kB / 0.9549 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7334, allocations: 1.375 kB / 0.9549 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.7334, allocations: 4.812 kB / 0.9549 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.7334, allocations: 1.375 kB / 0.9549 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7334, allocations: 7.938 kB / 0.9549 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.7339, allocations: 327.2 kB / 0.9552 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.7339, allocations: 83.61 kB / 0.9553 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.734, allocations: 9.406 kB / 0.9553 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.7341, allocations: 15.84 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/0.7342, allocations: 25.81 kB / 0.9554 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.7342, allocations: 1.406 kB / 0.9554 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.7343, allocations: 98.42 kB / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.7343, allocations: 0 / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000292/0.7346, allocations: 19.09 kB / 0.9555 GB, free: 4.293 MB / 0.7169 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.0006736/0.7353, allocations: 0.8721 MB / 0.9563 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.7357, allocations: 140 kB / 0.9565 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7357, allocations: 1.25 kB / 0.9565 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.736, allocations: 94.98 kB / 0.9565 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.7363, allocations: 14.09 kB / 0.9566 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.7383, allocations: 1.678 MB / 0.9582 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.7384, allocations: 0.705 MB / 0.9589 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.592e-05/0.7385, allocations: 16.77 kB / 0.9589 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.7386, allocations: 27.3 kB / 0.9589 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.7386, allocations: 1.469 kB / 0.9589 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.7576, allocations: 2.375 MB / 0.9612 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/8.231, allocations: 10.16 kB / 0.9613 GB, free: 15.91 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches