Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001654/0.001654, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001436/0.001436, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.523/1.523, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.791/2.791, allocations: 476.7 MB / 0.7672 GB, free: 5.199 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.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.003014/0.003014, allocations: 67.91 kB / 1.112 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.8925, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001929/0.8944, allocations: 0.6752 MB / 1.279 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.8955, allocations: 0.8627 MB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.8955, allocations: 0 / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.938e-05/0.8956, allocations: 3.938 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.319e-05/0.8956, allocations: 11.92 kB / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.8958, allocations: 23.97 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.406e-05/0.8959, allocations: 31.86 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.8959, allocations: 8 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.896, allocations: 11.98 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.8961, allocations: 23.91 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.8961, allocations: 0 / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.8961, allocations: 8 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.8962, allocations: 11.98 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.8962, allocations: 15.88 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.605e-05/0.8963, allocations: 35.88 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8963, allocations: 0 / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8963, allocations: 0 / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.8963, allocations: 0 / 1.28 GB, free: 11.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005106/0.8968, allocations: 349.5 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.8969, allocations: 12.03 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.8969, allocations: 38.69 kB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.8969, allocations: 12.81 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.8971, allocations: 172.4 kB / 1.281 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.8971, allocations: 4.375 kB / 1.281 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.8971, allocations: 384 / 1.281 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.8974, allocations: 66.22 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.8974, allocations: 7.875 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.8974, allocations: 0 / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.8974, allocations: 0 / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.8976, allocations: 47.95 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.898, allocations: 284.7 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.8982, allocations: 34.56 kB / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.8983, allocations: 28.89 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.8983, allocations: 4 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.8984, allocations: 34.5 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.8984, allocations: 0 / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004045/0.8988, allocations: 85.64 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.8988, allocations: 51.41 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.814e-05/0.8989, allocations: 110 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.8989, allocations: 25.7 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.899, allocations: 88.09 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.899, allocations: 7.953 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.899, allocations: 13.7 kB / 1.281 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8992, allocations: 322.8 kB / 1.282 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-05/0.8993, allocations: 15.97 kB / 1.282 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.8994, allocations: 23.98 kB / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.8995, allocations: 44.75 kB / 1.282 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8995, allocations: 256 / 1.282 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002211/0.8998, allocations: 69.66 kB / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8998, allocations: 8.094 kB / 1.282 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.8998, allocations: 8 kB / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.8998, allocations: 0 / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.8999, allocations: 7.984 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.8999, allocations: 3.938 kB / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.9, allocations: 4 kB / 1.282 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.9, allocations: 4 kB / 1.282 GB, free: 9.496 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: 1 (intRep.y[3]) * 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 0.0001363/0.9001, allocations: 121.7 kB / 1.282 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.9002, allocations: 4 kB / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.9002, allocations: 11.06 kB / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.9002, allocations: 0 / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.9002, allocations: 0 / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.9002, allocations: 0 / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.9004, allocations: 169.6 kB / 1.282 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.9004, allocations: 3.938 kB / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.9005, allocations: 11.98 kB / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.9005, allocations: 0 / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.9005, allocations: 0 / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9005, allocations: 0 / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9005, allocations: 4 kB / 1.282 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.9008, allocations: 171.4 kB / 1.282 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.9008, allocations: 81.09 kB / 1.282 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.9008, allocations: 0 / 1.282 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.9009, allocations: 4 kB / 1.282 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.901, allocations: 16 kB / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.901, allocations: 0 / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.901, allocations: 87.22 kB / 1.283 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.901, allocations: 0 / 1.283 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002197/0.9012, allocations: 4 kB / 1.283 GB, free: 8.723 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: 1 (intRep.y[3]) * 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.0005892/0.9018, allocations: 0.709 MB / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.9021, allocations: 43.95 kB / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9021, allocations: 0 / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.9022, allocations: 23.92 kB / 1.283 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.9024, allocations: 12.14 kB / 1.283 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.904, allocations: 1.247 MB / 1.284 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.9043, allocations: 0.6883 MB / 1.285 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.918e-05/0.9044, allocations: 8.031 kB / 1.285 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.9044, allocations: 15.42 kB / 1.285 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.9044, allocations: 0 / 1.285 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.9359, allocations: 1.545 MB / 1.287 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/9.147, allocations: 11.95 kB / 1.287 GB, free: 4.441 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_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_IntegerScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable reaToInt.y in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable reaToInt.y from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[3] in file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[3] from file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.324597738916054]