Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00276/0.00276, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.82/2.82, allocations: 476 MB / 0.7699 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 68.62 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3706, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002122/0.3727, allocations: 0.6364 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3739, allocations: 0.82 MB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.3739, allocations: 3.938 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.107e-05/0.374, allocations: 0 / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.402e-05/0.374, allocations: 7.938 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.3741, allocations: 7.984 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.789e-05/0.3742, allocations: 27.92 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.3743, allocations: 4 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.3744, allocations: 15.92 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.3744, allocations: 4 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.3744, allocations: 4 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-06/0.3744, allocations: 0 / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.3745, allocations: 11.92 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.453e-05/0.3745, allocations: 11.94 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.922e-05/0.3746, allocations: 35.88 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3746, allocations: 4 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3746, allocations: 0 / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3746, allocations: 3.938 kB / 1.284 GB, free: 10.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004827/0.3751, allocations: 263.9 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3752, allocations: 8.031 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.093e-05/0.3752, allocations: 30.75 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.3752, allocations: 4.938 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3754, allocations: 126.4 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3754, allocations: 4.359 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.3754, allocations: 8.375 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.3756, allocations: 54.23 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3756, allocations: 3.938 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.3756, allocations: 0 / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3756, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.3758, allocations: 35.95 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.3762, allocations: 239.9 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3763, allocations: 30.56 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.3764, allocations: 24.91 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.3764, allocations: 3.984 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3764, allocations: 30.56 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.3764, allocations: 0 / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003538/0.3768, allocations: 81.64 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.3769, allocations: 55.39 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.388e-05/0.3769, allocations: 101.9 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.377, allocations: 25.7 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.377, allocations: 88.12 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.3771, allocations: 11.89 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.3771, allocations: 9.719 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3772, allocations: 314.8 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/0.3773, allocations: 19.98 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.3774, allocations: 16.02 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.3776, allocations: 36.81 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3776, allocations: 0 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001978/0.3778, allocations: 65.59 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3778, allocations: 8 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3778, allocations: 0 / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3778, allocations: 4.344 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.3779, allocations: 4 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3779, allocations: 4 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.3779, allocations: 7.984 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3779, allocations: 0 / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.951e-05/0.378, allocations: 117.8 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.3781, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.3781, allocations: 11.14 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3781, allocations: 3.938 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3781, allocations: 4 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3781, allocations: 0 / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.3783, allocations: 132.7 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3783, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.3783, allocations: 4 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3783, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.3783, allocations: 3.984 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3783, allocations: 0 / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3783, allocations: 3.938 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.3786, allocations: 163.4 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.3786, allocations: 11.92 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3786, allocations: 0 / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.3787, allocations: 4 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.3787, allocations: 3.984 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3787, allocations: 4 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.3788, allocations: 79.28 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3788, allocations: 0 / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002218/0.379, allocations: 7.938 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0006209/0.3796, allocations: 0.6929 MB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.3798, allocations: 35.95 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3799, allocations: 0 / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.598e-05/0.3799, allocations: 19.98 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.3803, allocations: 6.656 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3818, allocations: 1.226 MB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8e-05/0.3819, allocations: 63.53 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.3819, allocations: 7.984 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.382, allocations: 11.47 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.382, allocations: 0 / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.4132, allocations: 1.838 MB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.77, allocations: 8.375 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable reaRep.u in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.u from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[1] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.664024664089084]