Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001405/0.001405, allocations: 108.6 kB / 16.46 MB, free: 6.508 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.001541/0.001541, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.542/1.542, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.282/3.282, allocations: 0.49 GB / 0.7916 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_12_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.002132/0.002132, allocations: 73.41 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3709, allocations: 176.1 MB / 1.321 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001872/0.3728, allocations: 0.6573 MB / 1.321 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3738, allocations: 0.828 MB / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.3738, allocations: 0 / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.735e-05/0.3739, allocations: 0 / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.955e-05/0.374, allocations: 3.938 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.3741, allocations: 7.984 kB / 1.322 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.3741, allocations: 27.92 kB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3742, allocations: 8 kB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.227e-05/0.3743, allocations: 11.94 kB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.3743, allocations: 11.92 kB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3744, allocations: 8 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-06/0.3744, allocations: 0 / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.3744, allocations: 7.984 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.3745, allocations: 15.92 kB / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.227e-05/0.3745, allocations: 31.83 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3746, allocations: 0 / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3746, allocations: 4 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3746, allocations: 0 / 1.322 GB, free: 1.75 MB / 1.014 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.0004967/0.3751, allocations: 339.4 kB / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3751, allocations: 19.98 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.3751, allocations: 30.75 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.3752, allocations: 8.891 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.3754, allocations: 176.2 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3754, allocations: 4.375 kB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3754, allocations: 384 / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.3756, allocations: 58.23 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3756, allocations: 3.938 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3756, allocations: 0 / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3756, allocations: 4 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.3758, allocations: 39.95 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.3762, allocations: 276.8 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3763, allocations: 38.5 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.3764, allocations: 24.89 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.3764, allocations: 0 / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.3765, allocations: 30.56 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3765, allocations: 0 / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0003626/0.3768, allocations: 81.58 kB / 1.323 GB, free: 468 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3769, allocations: 55.53 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.377, allocations: 101.9 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.377, allocations: 25.7 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.377, allocations: 84.12 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.3771, allocations: 7.953 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.3771, allocations: 9.719 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3773, allocations: 318.8 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/0.3774, allocations: 15.98 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.3774, allocations: 23.97 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3776, allocations: 32.77 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3776, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002242/0.3778, allocations: 65.72 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3778, allocations: 4 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3778, allocations: 4 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3779, allocations: 0 / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.3779, allocations: 7.984 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.378, allocations: 0 / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.378, allocations: 4 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.378, allocations: 0 / 1.324 GB, free: 15.66 MB / 1.029 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 0.000103/0.3781, allocations: 125.7 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.3781, allocations: 4.031 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.3781, allocations: 3.125 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3781, allocations: 0 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3782, allocations: 0 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3782, allocations: 4 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.3784, allocations: 161.5 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3784, allocations: 3.984 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.3784, allocations: 4 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3784, allocations: 0 / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3784, allocations: 4 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3784, allocations: 7.938 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3784, allocations: 256 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3787, allocations: 163.4 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.3788, allocations: 81.09 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3788, allocations: 8 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.3788, allocations: 8.016 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.3789, allocations: 7.938 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.3789, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.934e-05/0.3789, allocations: 87.27 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3789, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002218/0.3792, allocations: 4 kB / 1.325 GB, free: 14.9 MB / 1.029 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.0005839/0.3797, allocations: 0.6928 MB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.3799, allocations: 27.97 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3799, allocations: 4 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.38, allocations: 20.06 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3803, allocations: 8.062 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3819, allocations: 1.218 MB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.3822, allocations: 0.6845 MB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.3822, allocations: 0 / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.3823, allocations: 23.45 kB / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3823, allocations: 0 / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.4061, allocations: 1.304 MB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/8.816, allocations: 14.16 kB / 1.329 GB, free: 10.91 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.u from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.836006558034569]