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.001752/0.001752, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002056/0.002056, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.98 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.246/3.246, allocations: 0.49 GB / 0.7951 GB, free: 33.6 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.001981/0.001981, allocations: 71.27 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3709, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002612/0.3736, allocations: 0.6653 MB / 1.327 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.3751, allocations: 0.8242 MB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.3751, allocations: 0 / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.547e-05/0.3752, allocations: 7.922 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.873e-05/0.3752, allocations: 0 / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.3754, allocations: 12 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.776e-05/0.3755, allocations: 23.92 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.3755, allocations: 8 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.966e-05/0.3756, allocations: 19.91 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.3757, allocations: 15.92 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3757, allocations: 0 / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.3757, allocations: 4 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.3758, allocations: 0 / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.3758, allocations: 19.86 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.3759, allocations: 31.84 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3759, allocations: 0 / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3759, allocations: 4 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3759, allocations: 0 / 1.327 GB, free: 304 kB / 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.0005261/0.3764, allocations: 266.3 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.3765, allocations: 12.02 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.3766, allocations: 30.75 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.3766, allocations: 12.89 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.3768, allocations: 110.5 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.3768, allocations: 384 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3768, allocations: 4.375 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.377, allocations: 62.22 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.377, allocations: 3.938 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3771, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3771, allocations: 7.984 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.3773, allocations: 35.91 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.3779, allocations: 251.9 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.378, allocations: 30.56 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.3781, allocations: 28.83 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.3781, allocations: 0 / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3782, allocations: 30.56 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 3.758e-06/0.3782, allocations: 4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0005094/0.3787, allocations: 77.64 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.3787, allocations: 51.41 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3789, allocations: 105.9 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3789, allocations: 25.7 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.3789, allocations: 84.12 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.379, allocations: 4.078 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.379, allocations: 21.72 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3792, allocations: 314.8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.3793, allocations: 15.92 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3794, allocations: 19.97 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.3796, allocations: 40.89 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3796, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002639/0.3799, allocations: 57.66 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3799, allocations: 5.719 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3799, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3799, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.38, allocations: 11.98 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.38, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.3801, allocations: 15.97 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3801, allocations: 0 / 1.329 GB, free: 14.39 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.0001378/0.3803, allocations: 122.2 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.3803, allocations: 7.938 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.3803, allocations: 3.156 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3803, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3803, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3803, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.3806, allocations: 136.7 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3806, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.3807, allocations: 7.984 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3807, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.3807, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3807, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3807, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.381, allocations: 163.4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.381, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.381, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.3812, allocations: 7.984 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.3812, allocations: 7.938 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3812, allocations: 256 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.352e-05/0.3813, allocations: 91.27 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3813, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003972/0.3817, allocations: 4 kB / 1.33 GB, free: 13.77 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.0007038/0.3824, allocations: 0.689 MB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.3827, allocations: 36 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3827, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3828, allocations: 19.91 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.3833, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.3853, allocations: 1.222 MB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.3858, allocations: 0.6807 MB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.996e-05/0.3859, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.3859, allocations: 15.42 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.3859, allocations: 0 / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.418, allocations: 1.399 MB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.19, allocations: 11.72 kB / 1.334 GB, free: 9.703 MB / 1.029 GB " [Timeout remaining time 289] (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: 18.302414845000385]