Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001341/0.001341, 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.001454/0.001454, allocations: 212 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.371/3.371, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_latest_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.002356/0.002356, allocations: 77.36 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4226, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002646/0.4253, allocations: 0.6571 MB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.4267, allocations: 0.828 MB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.4267, allocations: 0 / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.4268, allocations: 0 / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.984e-05/0.4269, allocations: 3.938 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.427, allocations: 11.98 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.226e-05/0.4271, allocations: 23.92 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.4272, allocations: 4 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.88e-05/0.4272, allocations: 11.94 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.4273, allocations: 7.984 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.4273, allocations: 4 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.4273, allocations: 8 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/0.4274, allocations: 7.922 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.4274, allocations: 15.92 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.4275, allocations: 31.89 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4275, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4276, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.4276, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 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.0005267/0.4281, allocations: 267.7 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4281, allocations: 8.031 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.4282, allocations: 38.69 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.4282, allocations: 8.938 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.4284, allocations: 114.5 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-06/0.4284, allocations: 384 / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.4284, allocations: 4.375 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.4286, allocations: 54.23 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4286, allocations: 3.938 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4287, allocations: 4 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4287, allocations: 0 / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.4288, allocations: 39.95 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.4293, allocations: 243.9 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.4294, allocations: 30.56 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.4295, allocations: 20.91 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.4295, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.4295, allocations: 30.56 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.4295, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003964/0.4299, allocations: 81.58 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.43, allocations: 51.41 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.4301, allocations: 105.8 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4301, allocations: 29.64 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.4302, allocations: 96.03 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.4302, allocations: 0 / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.4302, allocations: 9.719 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4304, allocations: 322.8 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.4305, allocations: 20.11 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.4305, allocations: 11.98 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.4307, allocations: 40.75 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4307, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002025/0.4309, allocations: 69.69 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4309, allocations: 4 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4309, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4309, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.431, allocations: 7.984 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.431, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.4311, allocations: 7.984 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.4311, allocations: 0 / 1.367 GB, free: 10.58 MB / 1.061 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.0001023/0.4312, allocations: 117.7 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.4312, allocations: 4.25 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.4312, allocations: 11.19 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4312, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4313, allocations: 4 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4313, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.4314, allocations: 132.7 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4314, allocations: 3.984 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.4315, allocations: 7.938 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4315, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.4315, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4315, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4315, allocations: 4 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.4317, allocations: 159.5 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.4318, allocations: 3.984 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.4318, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.4318, allocations: 11.98 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.4319, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.4319, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.917e-05/0.4319, allocations: 83.27 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4319, allocations: 3.938 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002182/0.4322, allocations: 11.98 kB / 1.367 GB, free: 9.953 MB / 1.061 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.0006064/0.4328, allocations: 0.6889 MB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.433, allocations: 35.91 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.433, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/0.4331, allocations: 24.06 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.4334, allocations: 4 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.435, allocations: 1.214 MB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.734e-05/0.435, allocations: 67.44 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.4351, allocations: 4 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.4351, allocations: 15.42 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of SimCode: time 4.3e-07/0.4351, allocations: 0 / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.4663, allocations: 1.817 MB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.95, allocations: 7.484 kB / 1.371 GB, free: 6.086 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! Error: Could not read variable reaRep.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv. Warning: Get data of variable reaRep.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.007497393060476]