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 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.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.005068/0.005068, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.001473/0.001473, allocations: 196.1 kB / 16.67 MB, free: 6.355 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.439/1.439, 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 12.0.0-master/package.mo): time 2.945/2.945, allocations: 482.4 MB / 0.7548 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 59.91 kB / 1.083 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.296, allocations: 162.2 MB / 1.241 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00177/0.2979, allocations: 0.6621 MB / 1.242 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.2988, allocations: 0.8312 MB / 1.243 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.2989, allocations: 4 kB / 1.243 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.378e-05/0.299, allocations: 7.922 kB / 1.243 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.767e-05/0.2991, allocations: 11.92 kB / 1.243 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.2992, allocations: 19.98 kB / 1.243 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.2994, allocations: 71.81 kB / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2995, allocations: 39.86 kB / 1.243 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.2996, allocations: 35.91 kB / 1.243 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.631e-05/0.2997, allocations: 35.91 kB / 1.243 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.2997, allocations: 4 kB / 1.243 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.992e-05/0.2998, allocations: 8 kB / 1.243 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.2998, allocations: 31.89 kB / 1.243 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.2999, allocations: 35.8 kB / 1.243 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.3, allocations: 91.67 kB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3001, allocations: 0 / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3001, allocations: 3.938 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3001, allocations: 0 / 1.243 GB, free: 8.25 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006429/0.3007, allocations: 407.1 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3008, allocations: 8.031 kB / 1.244 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.3008, allocations: 46.73 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.3008, allocations: 12.89 kB / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.301, allocations: 188.3 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3011, allocations: 4.375 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.3011, allocations: 8.375 kB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.3015, allocations: 159.8 kB / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3015, allocations: 3.938 kB / 1.244 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3015, allocations: 4 kB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3015, allocations: 4 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.302, allocations: 151.8 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.3026, allocations: 444.8 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.3029, allocations: 121.1 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.3032, allocations: 73.7 kB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.3032, allocations: 0 / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3032, allocations: 34.56 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3032, allocations: 0 / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0008074/0.304, allocations: 233.6 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.3041, allocations: 81.14 kB / 1.245 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3042, allocations: 129.7 kB / 1.245 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3042, allocations: 33.64 kB / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.3043, allocations: 96.02 kB / 1.245 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.3043, allocations: 19.84 kB / 1.245 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.3044, allocations: 25.7 kB / 1.245 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3045, allocations: 310.8 kB / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.3048, allocations: 67.92 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.305, allocations: 73.62 kB / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.3054, allocations: 129.6 kB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3054, allocations: 0 / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004865/0.3059, allocations: 169.4 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3059, allocations: 5.875 kB / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3059, allocations: 0 / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.306, allocations: 4.062 kB / 1.246 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3061, allocations: 23.97 kB / 1.246 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3062, allocations: 3.938 kB / 1.246 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3063, allocations: 19.97 kB / 1.246 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3063, allocations: 4 kB / 1.246 GB, free: 4.941 MB / 0.9981 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.0001077/0.3064, allocations: 125.8 kB / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.3065, allocations: 4 kB / 1.246 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.3065, allocations: 19.52 kB / 1.246 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3065, allocations: 0 / 1.246 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3065, allocations: 3.938 kB / 1.246 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3065, allocations: 0 / 1.246 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.3068, allocations: 193.6 kB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3068, allocations: 0 / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.3069, allocations: 23.97 kB / 1.247 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.307, allocations: 0 / 1.247 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.307, allocations: 0 / 1.247 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.307, allocations: 4 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.307, allocations: 11.94 kB / 1.247 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.3076, allocations: 338.5 kB / 1.247 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3077, allocations: 85.05 kB / 1.247 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3077, allocations: 4 kB / 1.247 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.3079, allocations: 19.98 kB / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.308, allocations: 27.89 kB / 1.247 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.308, allocations: 4 kB / 1.247 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.545e-05/0.308, allocations: 95.58 kB / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3081, allocations: 0 / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002817/0.3083, allocations: 19.94 kB / 1.247 GB, free: 3.883 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: 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.0009416/0.3093, allocations: 0.8756 MB / 1.248 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.3098, allocations: 135.8 kB / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3098, allocations: 0 / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.3101, allocations: 91.83 kB / 1.248 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3104, allocations: 15.92 kB / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.3128, allocations: 1.699 MB / 1.25 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3131, allocations: 0.6963 MB / 1.251 GB, free: 240 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.912e-05/0.3132, allocations: 24.22 kB / 1.251 GB, free: 216 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.3133, allocations: 23.44 kB / 1.251 GB, free: 192 kB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/0.3133, allocations: 0 / 1.251 GB, free: 192 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5221/0.8354, allocations: 2.408 MB / 1.253 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/8.43, allocations: 5.656 kB / 1.253 GB, free: 14.46 MB / 0.9981 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 400 --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