Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001454/0.001454, 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.00176/0.00176, allocations: 214.3 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.785 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.364/3.364, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_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.002122/0.002122, allocations: 73.98 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4057, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.003056/0.4087, allocations: 0.6583 MB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.4101, allocations: 0.8553 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.4101, allocations: 0 / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.4102, allocations: 3.938 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.612e-05/0.4103, allocations: 3.938 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.4104, allocations: 19.98 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.857e-05/0.4105, allocations: 31.92 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.4106, allocations: 11.98 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.138e-05/0.4107, allocations: 15.92 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.946e-05/0.4108, allocations: 15.92 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.4108, allocations: 4 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.4108, allocations: 7.938 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.4109, allocations: 11.98 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.4109, allocations: 11.94 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.411, allocations: 47.8 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.411, allocations: 0 / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4111, allocations: 0 / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.4111, allocations: 7.938 kB / 1.365 GB, free: 12.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005096/0.4116, allocations: 266.3 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.4116, allocations: 16.02 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.4117, allocations: 34.75 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.4117, allocations: 0.9375 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.4119, allocations: 118.5 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.4119, allocations: 8.375 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.4119, allocations: 4.375 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.4121, allocations: 66.17 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4121, allocations: 3.938 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4121, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4121, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.4123, allocations: 43.95 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.4128, allocations: 243.9 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.4129, allocations: 46.48 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.413, allocations: 24.91 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.413, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.4131, allocations: 34.55 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.913e-06/0.4131, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003985/0.4135, allocations: 89.59 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.4135, allocations: 55.34 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.4136, allocations: 101.8 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.4136, allocations: 37.83 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.4137, allocations: 88.03 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.4137, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.4138, allocations: 21.7 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4139, allocations: 318.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.839e-05/0.414, allocations: 15.98 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.4141, allocations: 19.97 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.4142, allocations: 44.89 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4142, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000219/0.4145, allocations: 73.55 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4145, allocations: 8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4145, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4145, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.4146, allocations: 11.92 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4146, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/0.4147, allocations: 12.02 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.4147, allocations: 4 kB / 1.367 GB, free: 10.35 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: 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.0001618/0.4148, allocations: 113.8 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.4149, allocations: 4 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.4149, allocations: 11.28 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4149, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4149, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4149, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.4151, allocations: 140.7 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4151, allocations: 4 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.4151, allocations: 7.984 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4151, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.4151, allocations: 256 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4151, allocations: 8 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4151, allocations: 3.984 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.4154, allocations: 167.4 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.4154, allocations: 11.94 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.4154, allocations: 32 / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.4155, allocations: 8 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.4156, allocations: 7.984 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.4156, allocations: 4 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.596e-05/0.4156, allocations: 79.28 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4156, allocations: 3.938 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002152/0.4158, allocations: 8 kB / 1.367 GB, free: 9.703 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: 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.0005857/0.4164, allocations: 0.7007 MB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.4167, allocations: 43.89 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4167, allocations: 0 / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.4168, allocations: 23.97 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.417, allocations: 4 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.4185, allocations: 1.257 MB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.115e-05/0.4186, allocations: 63.34 kB / 1.369 GB, free: 7.484 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.4186, allocations: 0 / 1.369 GB, free: 7.484 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.4187, allocations: 19.42 kB / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.4187, allocations: 4.031 kB / 1.369 GB, free: 7.461 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.4481, allocations: 2.053 MB / 1.371 GB, free: 5.547 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.06, allocations: 15.44 kB / 1.371 GB, free: 5.535 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_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_IntegerScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable reaToInt.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[3] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[3] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.174731301143765]