Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.IntegerVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_latest_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.001259/0.001259, 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.001228/0.001228, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.836/2.836, allocations: 469.4 MB / 0.742 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.09 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3235, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001888/0.3254, allocations: 0.6649 MB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009358/0.3263, allocations: 0.8351 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.3264, allocations: 0 / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.3265, allocations: 11.92 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.622e-05/0.3266, allocations: 7.938 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.3267, allocations: 15.98 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3269, allocations: 71.83 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.327, allocations: 39.95 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.3271, allocations: 35.86 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.3272, allocations: 35.89 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3272, allocations: 11.94 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.3272, allocations: 4 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.3273, allocations: 23.97 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.3274, allocations: 35.81 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.3275, allocations: 92.02 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3275, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3275, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.3275, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 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.0006158/0.3281, allocations: 399.2 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3282, allocations: 8.031 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.3282, allocations: 38.75 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.3283, allocations: 8.844 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.3285, allocations: 200.2 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.3285, allocations: 8.375 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3285, allocations: 8.312 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.3289, allocations: 159.8 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3289, allocations: 3.938 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3289, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3289, allocations: 4 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.3294, allocations: 159.8 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.3299, allocations: 444.7 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.3303, allocations: 110.8 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.3305, allocations: 89.62 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.3305, allocations: 3.938 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3306, allocations: 34.56 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3306, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0007636/0.3313, allocations: 229.4 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3314, allocations: 81.11 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.3315, allocations: 125.8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3315, allocations: 29.7 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.3316, allocations: 92.2 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.3316, allocations: 11.8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.3317, allocations: 25.86 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3318, allocations: 330.8 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.332, allocations: 59.92 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.3322, allocations: 77.62 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.3326, allocations: 133.5 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3326, allocations: 0 / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004642/0.3331, allocations: 157.5 kB / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3331, allocations: 11.98 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3331, allocations: 0 / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3331, allocations: 4 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.3333, allocations: 19.97 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3333, allocations: 3.938 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.3334, allocations: 19.92 kB / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3335, allocations: 3.984 kB / 1.068 GB, free: 9.336 MB / 0.8262 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.0001002/0.3336, allocations: 130.4 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.3336, allocations: 7.906 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.3337, allocations: 7.531 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3337, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3337, allocations: 3.938 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3337, allocations: 4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.3339, allocations: 193.6 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.334, allocations: 3.984 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.3341, allocations: 23.97 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3341, allocations: 4.469 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3341, allocations: 3.984 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3341, allocations: 7.938 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3342, allocations: 3.938 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.3347, allocations: 338.5 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.3347, allocations: 81.11 kB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.3348, allocations: 0 / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.3349, allocations: 15.97 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.335, allocations: 27.91 kB / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3351, allocations: 8 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.3351, allocations: 95.27 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3351, allocations: 0 / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002946/0.3354, allocations: 15.91 kB / 1.069 GB, free: 8.285 MB / 0.8262 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.0009077/0.3363, allocations: 0.8678 MB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004936/0.3368, allocations: 147.7 kB / 1.07 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3369, allocations: 0 / 1.07 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.3371, allocations: 88.08 kB / 1.07 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3375, allocations: 12 kB / 1.07 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.3398, allocations: 1.69 MB / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.3401, allocations: 0.708 MB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.846e-05/0.3402, allocations: 15.98 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.3402, allocations: 27.42 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3402, allocations: 0 / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.3588, allocations: 2.38 MB / 1.075 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.898, allocations: 12.48 kB / 1.075 GB, free: 2.332 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches