Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",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.005436/0.005436, allocations: 99.28 kB / 15.73 MB, free: 6.059 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.001241/0.001242, allocations: 192.9 kB / 16.67 MB, free: 5.977 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.482/2.482, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 65.97 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2803, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.0018/0.2821, allocations: 0.6423 MB / 1.088 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008837/0.283, allocations: 0.7926 MB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.2831, allocations: 0 / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.401e-05/0.2832, allocations: 7.938 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.999e-05/0.2833, allocations: 11.94 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.937e-05/0.2834, allocations: 7.984 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.2835, allocations: 55.89 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2836, allocations: 19.92 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.2837, allocations: 19.98 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.482e-05/0.2838, allocations: 43.78 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.2838, allocations: 4 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-06/0.2838, allocations: 0 / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.2839, allocations: 23.97 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.2839, allocations: 23.81 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.2841, allocations: 79.92 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2841, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2841, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2841, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006265/0.2847, allocations: 391.2 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2848, allocations: 12.03 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.2848, allocations: 34.75 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.2848, allocations: 8.891 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.285, allocations: 192.2 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.285, allocations: 384 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.2851, allocations: 4.375 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.2854, allocations: 131.9 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2854, allocations: 7.922 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2854, allocations: 4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2855, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.2858, allocations: 127.8 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.2865, allocations: 432.9 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.2867, allocations: 85.16 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.2869, allocations: 65.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.2869, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.2869, allocations: 42.5 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.2869, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0006597/0.2876, allocations: 189.4 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.2877, allocations: 81.11 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.2878, allocations: 125.7 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2878, allocations: 33.69 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.2879, allocations: 96.03 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.2879, allocations: 8.203 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.2879, allocations: 13.72 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2881, allocations: 318.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2883, allocations: 51.92 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.2885, allocations: 69.66 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.2888, allocations: 109.5 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2888, allocations: 4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004139/0.2892, allocations: 137.6 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2893, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2893, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2893, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.2895, allocations: 23.91 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2895, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.602e-05/0.2896, allocations: 23.92 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.2896, allocations: 4.062 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.492e-05/0.2897, allocations: 121.8 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.2897, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.2898, allocations: 11.5 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2898, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2898, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.2898, allocations: 3.938 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.2901, allocations: 185.6 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2901, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.2902, allocations: 23.97 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2902, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.2902, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2902, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2902, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.2907, allocations: 310.6 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.2908, allocations: 89 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.2908, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.2909, allocations: 15.97 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.291, allocations: 19.86 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.291, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.164e-05/0.2911, allocations: 103.6 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2911, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002718/0.2914, allocations: 8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0007424/0.2921, allocations: 0.8366 MB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.2925, allocations: 107.8 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2925, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.2927, allocations: 72.02 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.2931, allocations: 17.48 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.2952, allocations: 1.586 MB / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.2955, allocations: 0.6963 MB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.485e-05/0.2956, allocations: 20 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.2957, allocations: 19.44 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.2957, allocations: 0 / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.3136, allocations: 1.862 MB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.852, allocations: 13.59 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_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_RealVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches