Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001725/0.001725, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001474/0.001474, allocations: 215.8 kB / 23.03 MB, free: 4.922 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.796/2.796, allocations: 476.8 MB / 0.7715 GB, free: 3.844 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.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="cs",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.002058/0.002058, allocations: 63.69 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3877, allocations: 170 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002525/0.3902, allocations: 0.6363 MB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3915, allocations: 0.82 MB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.3916, allocations: 0 / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.3917, allocations: 11.94 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.257e-05/0.3917, allocations: 0 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.3919, allocations: 11.92 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.392, allocations: 23.94 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3921, allocations: 3.984 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.3921, allocations: 8 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.3922, allocations: 15.92 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3922, allocations: 4 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.016e-06/0.3922, allocations: 0 / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.3923, allocations: 23.84 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.3923, allocations: 8 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.3924, allocations: 27.89 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3924, allocations: 0 / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3924, allocations: 0 / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.3924, allocations: 3.938 kB / 1.286 GB, free: 8.965 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004959/0.3929, allocations: 267.5 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.393, allocations: 12.03 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.345e-05/0.393, allocations: 4.188 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.3931, allocations: 34.75 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.3931, allocations: 4.938 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3932, allocations: 118.5 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.3932, allocations: 384 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3933, allocations: 8.375 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3935, allocations: 57.92 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3935, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3935, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3935, allocations: 4 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.3936, allocations: 31.97 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.3941, allocations: 244 kB / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3942, allocations: 34.5 kB / 1.286 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.888e-05/0.3943, allocations: 20.91 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.3943, allocations: 0 / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3943, allocations: 30.56 kB / 1.286 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3943, allocations: 0 / 1.286 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003438/0.3947, allocations: 85.59 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3947, allocations: 51.41 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3948, allocations: 109.8 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3948, allocations: 25.7 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.3949, allocations: 84.14 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.3949, allocations: 3.953 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.3949, allocations: 9.719 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3951, allocations: 326.8 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.3952, allocations: 11.98 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.3952, allocations: 24.05 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.3954, allocations: 32.81 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3954, allocations: 3.938 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001881/0.3956, allocations: 61.66 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3956, allocations: 8 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3956, allocations: 4.094 kB / 1.287 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3956, allocations: 0 / 1.287 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.3957, allocations: 11.92 kB / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3957, allocations: 0 / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.3957, allocations: 8.234 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3958, allocations: 0 / 1.287 GB, free: 7.074 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: 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.0001017/0.3959, allocations: 121.7 kB / 1.287 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.3959, allocations: 0 / 1.287 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.3959, allocations: 11.16 kB / 1.287 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3959, allocations: 4 kB / 1.287 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3959, allocations: 0 / 1.287 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3959, allocations: 0 / 1.287 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.3961, allocations: 132.7 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3961, allocations: 0 / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/0.3961, allocations: 7.984 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3961, allocations: 0 / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3962, allocations: 0 / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3962, allocations: 0 / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3962, allocations: 0 / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.3964, allocations: 175.3 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.3964, allocations: 0 / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3964, allocations: 0 / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.3965, allocations: 7.984 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.3966, allocations: 4 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3966, allocations: 0 / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.3966, allocations: 87.27 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3966, allocations: 0 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002263/0.3968, allocations: 4 kB / 1.288 GB, free: 6.465 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: 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.0006125/0.3974, allocations: 0.687 MB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.3976, allocations: 35.91 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3976, allocations: 0 / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.3977, allocations: 23.97 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3981, allocations: 4.156 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.3996, allocations: 1.235 MB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.356e-05/0.3997, allocations: 63.34 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.3997, allocations: 4.031 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.3998, allocations: 19.42 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3998, allocations: 0 / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.424, allocations: 1.465 MB / 1.291 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.94, allocations: 11.14 kB / 1.291 GB, free: 2.945 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.793460562010296]