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.008543/0.008543, allocations: 102.3 kB / 15.73 MB, free: 6.062 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.001529/0.001529, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.415/2.415, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8397/0.8411, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002331/0.8434, allocations: 0.6522 MB / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.8445, allocations: 0.7962 MB / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.8446, allocations: 0 / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.8448, allocations: 11.92 kB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.8449, allocations: 8 kB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.522e-05/0.845, allocations: 7.984 kB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.8451, allocations: 59.83 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.8453, allocations: 16 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.8453, allocations: 23.92 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.8454, allocations: 39.83 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.8455, allocations: 4 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.8455, allocations: 0 / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.8456, allocations: 23.97 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.8456, allocations: 19.88 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.8458, allocations: 75.38 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.8458, allocations: 3.938 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8458, allocations: 4 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5e-06/0.8458, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 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.0006698/0.8465, allocations: 391.2 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.8465, allocations: 12.62 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.8466, allocations: 38.73 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.8466, allocations: 4.938 kB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.8468, allocations: 192.2 kB / 1.168 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.8468, allocations: 384 / 1.168 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.8469, allocations: 8.375 kB / 1.168 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.8472, allocations: 134.2 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8472, allocations: 3.938 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.8472, allocations: 7.938 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.8473, allocations: 0 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.8476, allocations: 135.8 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.8482, allocations: 425 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.8485, allocations: 97.08 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.8486, allocations: 61.7 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.8487, allocations: 0 / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.8487, allocations: 38.56 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.8487, allocations: 4 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0006077/0.8493, allocations: 193.4 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.8494, allocations: 77.11 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.8495, allocations: 126 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.8495, allocations: 25.7 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.8496, allocations: 104 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.8496, allocations: 7.891 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.8496, allocations: 13.72 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.8497, allocations: 318.8 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.8499, allocations: 47.94 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.8501, allocations: 73.64 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.8504, allocations: 101.6 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8504, allocations: 4.062 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003618/0.8508, allocations: 133.5 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8508, allocations: 4 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8508, allocations: 0 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.8508, allocations: 7.969 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.851, allocations: 16.05 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.851, allocations: 4 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.8511, allocations: 31.86 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.8511, allocations: 0 / 1.171 GB, free: 14.98 MB / 0.9044 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.835e-05/0.8512, allocations: 125.8 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.8512, allocations: 4 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.8513, allocations: 3.531 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.8513, allocations: 384 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8513, allocations: 4 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.8513, allocations: 11.92 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.8515, allocations: 177.7 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8515, allocations: 3.938 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.419e-05/0.8516, allocations: 19.97 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8516, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.8516, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8516, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8516, allocations: 0 / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.8521, allocations: 314.6 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.8521, allocations: 85.05 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.8521, allocations: 0 / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.8523, allocations: 15.97 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.8523, allocations: 15.97 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.8524, allocations: 4 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.8524, allocations: 99.25 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.302e-06/0.8524, allocations: 0 / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002628/0.8527, allocations: 19.83 kB / 1.171 GB, free: 14 MB / 0.9044 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.0006854/0.8534, allocations: 0.8289 MB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.8538, allocations: 119.8 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8538, allocations: 0 / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.854, allocations: 63.92 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.8543, allocations: 11.94 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.8563, allocations: 1.59 MB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.8566, allocations: 0.6963 MB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.105e-05/0.8566, allocations: 11.98 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.8567, allocations: 23.42 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/0.8567, allocations: 0 / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.8752, allocations: 1.877 MB / 1.177 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.644, allocations: 15.73 kB / 1.177 GB, free: 8.773 MB / 0.9044 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