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.001661/0.001661, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001568/0.001568, allocations: 216 kB / 22.25 MB, free: 5.074 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 / 256 MB, free: 8.02 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.816/2.816, allocations: 476.7 MB / 0.7707 GB, free: 4.316 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.002121/0.002121, allocations: 67.3 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3821, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002322/0.3844, allocations: 0.6771 MB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3856, allocations: 0.8627 MB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.3857, allocations: 7.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.3858, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.846e-05/0.3858, allocations: 4 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.386, allocations: 19.92 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.3861, allocations: 39.84 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3862, allocations: 8 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.3862, allocations: 11.98 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.3863, allocations: 19.92 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.3863, allocations: 0 / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.3863, allocations: 4 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.3864, allocations: 23.91 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.3864, allocations: 11.94 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.3865, allocations: 35.88 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3866, allocations: 0 / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3866, allocations: 0 / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.3866, allocations: 0 / 1.285 GB, free: 9.914 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.0004884/0.3871, allocations: 270.6 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3871, allocations: 12.03 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.3871, allocations: 34.69 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.3872, allocations: 8.891 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.3873, allocations: 122.5 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3873, allocations: 384 / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.3874, allocations: 4.375 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.3876, allocations: 66.2 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3876, allocations: 3.938 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.3876, allocations: 0 / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3876, allocations: 0 / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.3878, allocations: 47.95 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.3882, allocations: 255.8 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.3884, allocations: 42.55 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.3884, allocations: 20.91 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3885, allocations: 8 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.3885, allocations: 30.56 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3885, allocations: 0 / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004038/0.3889, allocations: 89.56 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.3889, allocations: 51.41 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.517e-05/0.389, allocations: 106 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3891, allocations: 33.69 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.3891, allocations: 92.09 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.3891, allocations: 3.953 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.3892, allocations: 13.72 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3893, allocations: 326.7 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.3894, allocations: 15.98 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.3895, allocations: 19.98 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3896, allocations: 52.69 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3896, allocations: 0 / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001983/0.3898, allocations: 69.66 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3899, allocations: 4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3899, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3899, allocations: 4.094 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.39, allocations: 11.98 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.39, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.39, allocations: 7.984 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.3901, allocations: 0 / 1.287 GB, free: 7.93 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.0001784/0.3902, allocations: 117.8 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.3903, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.3903, allocations: 3.312 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3903, allocations: 4 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3903, allocations: 7.984 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3903, allocations: 0 / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3905, allocations: 144.6 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3905, allocations: 3.984 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.3905, allocations: 4 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3905, allocations: 4 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3905, allocations: 3.984 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3905, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3905, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.3908, allocations: 171.4 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.3908, allocations: 4 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.3908, allocations: 0 / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.3909, allocations: 8.234 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.391, allocations: 4 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.391, allocations: 16.02 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.391, allocations: 79.28 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.391, allocations: 0 / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002178/0.3912, allocations: 4 kB / 1.287 GB, free: 7.297 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.0006581/0.3919, allocations: 0.7123 MB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3922, allocations: 35.97 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3922, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.3923, allocations: 27.91 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3925, allocations: 13.75 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3941, allocations: 1.266 MB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3944, allocations: 0.6768 MB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.3944, allocations: 4 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.3945, allocations: 19.47 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3945, allocations: 0 / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.4247, allocations: 1.612 MB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.25, allocations: 6.469 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.15607789800015]