Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.RealVectorReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_11_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.005366/0.005366, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.001226/0.001226, allocations: 197.5 kB / 16.67 MB, free: 5.922 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.164 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 2.958/2.958, allocations: 469.8 MB / 0.7425 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001864, allocations: 67.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3816, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002154/0.3839, allocations: 0.6543 MB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.385, allocations: 0.7941 MB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.3851, allocations: 0 / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.3852, allocations: 3.938 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.645e-05/0.3853, allocations: 7.938 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.813e-05/0.3854, allocations: 7.984 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.3855, allocations: 55.89 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3857, allocations: 19.98 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.3857, allocations: 27.92 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.3858, allocations: 35.78 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3858, allocations: 4 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.3859, allocations: 4 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.3859, allocations: 23.97 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.386, allocations: 19.88 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.3861, allocations: 71.72 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3861, allocations: 3.938 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3861, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3861, allocations: 0 / 1.222 GB, free: 12.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006605/0.3868, allocations: 396.9 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3868, allocations: 8.031 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.3869, allocations: 38.73 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.3869, allocations: 4.891 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.3871, allocations: 200.2 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3872, allocations: 384 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.3872, allocations: 8.375 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.3876, allocations: 127.9 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3876, allocations: 3.938 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3876, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.3876, allocations: 4 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.388, allocations: 135.8 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.3887, allocations: 424.9 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.3889, allocations: 93.14 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.3891, allocations: 65.7 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.3891, allocations: 4 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3892, allocations: 38.5 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3892, allocations: 0 / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0007088/0.3899, allocations: 189.4 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.39, allocations: 81.36 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3901, allocations: 121.8 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3901, allocations: 25.7 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.3902, allocations: 100 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.3902, allocations: 7.891 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.3903, allocations: 13.72 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3904, allocations: 318.8 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.3906, allocations: 52.31 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.3908, allocations: 69.64 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.3912, allocations: 109.6 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3912, allocations: 0 / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004022/0.3916, allocations: 141.5 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3916, allocations: 7.984 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3916, allocations: 0 / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3916, allocations: 8.062 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3918, allocations: 15.92 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3918, allocations: 4 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.3919, allocations: 19.91 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3919, allocations: 0 / 1.225 GB, free: 9.516 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: 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 0.0001177/0.392, allocations: 121.8 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.3921, allocations: 4 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.3921, allocations: 11.53 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3921, allocations: 4 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3921, allocations: 3.984 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3921, allocations: 3.938 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.3924, allocations: 181.6 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3924, allocations: 0 / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.3925, allocations: 15.98 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3925, allocations: 0 / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3925, allocations: 0 / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3925, allocations: 3.984 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3926, allocations: 8 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.3931, allocations: 310.5 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.3931, allocations: 77.11 kB / 1.225 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3931, allocations: 4.031 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.3933, allocations: 19.97 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.3933, allocations: 15.91 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3934, allocations: 4 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.929e-05/0.3934, allocations: 91.27 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.824e-06/0.3934, allocations: 0 / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000264/0.3937, allocations: 23.83 kB / 1.225 GB, free: 8.531 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: 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.0008129/0.3945, allocations: 0.8333 MB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.395, allocations: 116.2 kB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.395, allocations: 4 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.3952, allocations: 59.86 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3955, allocations: 17.44 kB / 1.226 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.3977, allocations: 1.6 MB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3981, allocations: 0.6963 MB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.258e-05/0.3981, allocations: 11.98 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.3982, allocations: 23.53 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of SimCode: time 4.6e-07/0.3982, allocations: 0 / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.4205, allocations: 1.867 MB / 1.231 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.516, allocations: 14.28 kB / 1.231 GB, free: 3.297 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches