Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_11_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.008205/0.008205, allocations: 100.6 kB / 15.73 MB, free: 6.484 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.00206/0.00206, allocations: 193.2 kB / 16.68 MB, free: 6.363 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.627/1.627, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.015/3.015, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 68.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3731, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002004/0.3751, allocations: 0.6775 MB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3764, allocations: 0.8252 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.3764, allocations: 7.938 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.3766, allocations: 3.984 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.793e-05/0.3767, allocations: 11.92 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.3768, allocations: 23.92 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.377, allocations: 75.81 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3771, allocations: 35.97 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.3772, allocations: 31.92 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3773, allocations: 43.83 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.3774, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.947e-05/0.3774, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.3775, allocations: 35.89 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.3775, allocations: 31.8 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.3777, allocations: 91.67 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3777, allocations: 4 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3777, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3777, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 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.0007574/0.3785, allocations: 407.1 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3786, allocations: 8.031 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.27e-05/0.3786, allocations: 38.73 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.3786, allocations: 8.891 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3789, allocations: 192.2 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.3789, allocations: 12.38 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.3789, allocations: 4.375 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.3793, allocations: 159.8 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3794, allocations: 3.938 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3794, allocations: 7.938 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3794, allocations: 0 / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.3799, allocations: 159.8 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.3805, allocations: 440.8 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.3808, allocations: 121.1 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.3811, allocations: 73.64 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3811, allocations: 4 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3811, allocations: 34.56 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3811, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0008001/0.3819, allocations: 229.3 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.382, allocations: 81.11 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3821, allocations: 130 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3822, allocations: 25.7 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.3822, allocations: 104 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.3823, allocations: 11.89 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.3823, allocations: 21.7 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3825, allocations: 318.8 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.3827, allocations: 59.92 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.3829, allocations: 81.62 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.3833, allocations: 129.5 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3833, allocations: 4 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004593/0.3838, allocations: 165.4 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3838, allocations: 9.875 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3838, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3839, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.384, allocations: 24.03 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3841, allocations: 7.938 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3842, allocations: 15.97 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.3842, allocations: 4 kB / 1.225 GB, free: 9.121 MB / 0.9825 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.0001247/0.3843, allocations: 125.8 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.3844, allocations: 4 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.3844, allocations: 11.52 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3844, allocations: 4.375 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3844, allocations: 7.938 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3844, allocations: 0 / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.3847, allocations: 197.6 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3848, allocations: 7.938 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.3849, allocations: 19.97 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/0.3849, allocations: 4 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3849, allocations: 3.938 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3849, allocations: 3.938 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.385, allocations: 3.938 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.3855, allocations: 330.7 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.3856, allocations: 85.06 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3856, allocations: 3.984 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3858, allocations: 19.98 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.23e-05/0.3859, allocations: 27.91 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.3859, allocations: 3.984 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.386, allocations: 95.27 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.515e-06/0.386, allocations: 0 / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002691/0.3863, allocations: 19.88 kB / 1.226 GB, free: 8.062 MB / 0.9825 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.0009519/0.3872, allocations: 0.8763 MB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000497/0.3877, allocations: 139.8 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3877, allocations: 0 / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.388, allocations: 87.89 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.3883, allocations: 11.92 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.391, allocations: 1.698 MB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.3915, allocations: 0.7002 MB / 1.229 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.941e-05/0.3916, allocations: 24.22 kB / 1.229 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.3916, allocations: 19.44 kB / 1.229 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3916, allocations: 0 / 1.229 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.4171, allocations: 2.42 MB / 1.232 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.531, allocations: 0 / 1.232 GB, free: 2.09 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches