Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001812/0.001812, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001729/0.001729, allocations: 215.7 kB / 22.25 MB, free: 4.855 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.486/1.486, 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 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.47/3.47, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.IntegerScalarReplicator,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_12_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.002101/0.002101, allocations: 65.75 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3805, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002051/0.3826, allocations: 0.6651 MB / 1.326 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3837, allocations: 0.8631 MB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.3838, allocations: 0 / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.638e-05/0.3839, allocations: 3.938 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.425e-05/0.3839, allocations: 3.984 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.3841, allocations: 19.92 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.952e-05/0.3842, allocations: 35.92 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.3843, allocations: 4 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/0.3843, allocations: 23.91 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.3844, allocations: 11.92 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.3844, allocations: 4 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.3844, allocations: 4 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.3845, allocations: 4 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.3845, allocations: 15.92 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.876e-05/0.3846, allocations: 39.81 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3846, allocations: 4 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3846, allocations: 0 / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3846, allocations: 0 / 1.327 GB, free: 0.6328 MB / 1.014 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.0005019/0.3851, allocations: 278.3 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3851, allocations: 8.031 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.3852, allocations: 34.75 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.3852, allocations: 4.891 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3854, allocations: 118.5 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.3854, allocations: 4.375 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.3854, allocations: 384 / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3856, allocations: 70.22 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3856, allocations: 3.938 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3856, allocations: 4 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3856, allocations: 0 / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.3858, allocations: 39.95 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.3862, allocations: 259.7 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.3864, allocations: 42.56 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3865, allocations: 24.89 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.3865, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3865, allocations: 38.56 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.3865, allocations: 3.938 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003722/0.3869, allocations: 81.64 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.3869, allocations: 51.53 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.656e-05/0.387, allocations: 109.8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.387, allocations: 29.64 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.3871, allocations: 96.03 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.3871, allocations: 3.953 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.3872, allocations: 17.7 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3873, allocations: 318.8 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.3874, allocations: 19.97 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.939e-05/0.3875, allocations: 15.98 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3877, allocations: 52.81 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3877, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002268/0.3879, allocations: 69.66 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3879, allocations: 4 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3879, allocations: 0 / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3879, allocations: 0 / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.388, allocations: 16.02 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.388, allocations: 0 / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.3881, allocations: 4 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.3881, allocations: 0 / 1.328 GB, free: 14.65 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: 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.0001463/0.3882, allocations: 122.3 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3883, allocations: 3.953 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.3883, allocations: 7.312 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3883, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3883, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3883, allocations: 3.938 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.3885, allocations: 136.7 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3885, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.3885, allocations: 15.98 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3885, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.3885, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3885, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3885, allocations: 3.984 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.3888, allocations: 167.5 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.3888, allocations: 4.031 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3888, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.3889, allocations: 8.234 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.389, allocations: 3.938 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.389, allocations: 4 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.389, allocations: 87.27 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.389, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002202/0.3892, allocations: 8 kB / 1.329 GB, free: 14.01 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: 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.0005907/0.3898, allocations: 0.7045 MB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.3901, allocations: 47.89 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3901, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.3902, allocations: 27.91 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3904, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.392, allocations: 1.253 MB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.47e-05/0.392, allocations: 71.33 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.3921, allocations: 4.031 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.3921, allocations: 15.44 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.3921, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.4221, allocations: 2.056 MB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.96, allocations: 11.47 kB / 1.333 GB, free: 9.828 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable reaToInt.y from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! Error: Could not read variable intRep.y[3] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv. Warning: Get data of variable intRep.y[3] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.15558388782665]