Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_10_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.001252/0.001252, 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.001387/0.001387, allocations: 191.9 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.89 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.6008, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002151/0.603, allocations: 0.654 MB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.604, allocations: 0.7923 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.6041, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.6042, allocations: 3.938 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.6044, allocations: 19.91 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.611e-05/0.6044, allocations: 4 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.6046, allocations: 55.91 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.6047, allocations: 19.97 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.6048, allocations: 27.92 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.6049, allocations: 31.8 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.6049, allocations: 4 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.605, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.605, allocations: 27.95 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.6051, allocations: 19.88 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.6052, allocations: 66.03 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6052, allocations: 8 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6052, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.6052, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 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.0005728/0.6058, allocations: 387.2 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.6059, allocations: 15.97 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.6059, allocations: 30.75 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.6059, allocations: 8.844 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.6061, allocations: 188.2 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.6061, allocations: 4.375 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.6061, allocations: 8.375 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.6065, allocations: 131.9 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6065, allocations: 3.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.6065, allocations: 3.984 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6065, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003697/0.6069, allocations: 131.8 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.6075, allocations: 440.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.6077, allocations: 89.09 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.6079, allocations: 65.7 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.6079, allocations: 4 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.608, allocations: 34.56 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.355e-06/0.608, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0006308/0.6086, allocations: 193.6 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.6087, allocations: 81.05 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.6088, allocations: 121.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.6088, allocations: 29.69 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.6088, allocations: 95.98 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.6088, allocations: 3.906 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.6089, allocations: 17.72 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.609, allocations: 314.9 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.6092, allocations: 55.92 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.6094, allocations: 65.66 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.6097, allocations: 109.6 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6097, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003657/0.6101, allocations: 141.4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6101, allocations: 4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.6101, allocations: 4.062 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6101, allocations: 3.938 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.6102, allocations: 23.95 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.6103, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.513e-05/0.6103, allocations: 19.92 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.6104, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 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 8.281e-05/0.6104, allocations: 125.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.6105, allocations: 8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.6105, allocations: 11.52 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6105, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6105, allocations: 4 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6105, allocations: 3.938 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.6107, allocations: 178 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6108, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.6109, allocations: 15.98 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6109, allocations: 3.984 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.6109, allocations: 3.938 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6109, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6109, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.6113, allocations: 310.5 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.6114, allocations: 85.14 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.6114, allocations: 4 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.6115, allocations: 15.97 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.6116, allocations: 11.92 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.6116, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.506e-05/0.6117, allocations: 95.27 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6117, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002612/0.6119, allocations: 11.91 kB / 1.023 GB, free: 12.71 MB / 0.7794 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.0006991/0.6126, allocations: 0.839 MB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003975/0.6131, allocations: 115.9 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6131, allocations: 0 / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.6133, allocations: 63.92 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.6137, allocations: 17.89 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.6156, allocations: 1.588 MB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.6158, allocations: 0.6963 MB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.6159, allocations: 19.88 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.6159, allocations: 23.53 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6159, allocations: 0 / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.6351, allocations: 1.838 MB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.599, allocations: 11.42 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches