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.001516/0.001516, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00157/0.00157, allocations: 217.5 kB / 23.04 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.793/2.793, allocations: 476.7 MB / 0.7715 GB, free: 4.293 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.002168/0.002168, allocations: 61.95 kB / 1.118 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3996, allocations: 170 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001891/0.4015, allocations: 0.6481 MB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.4025, allocations: 0.82 MB / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.4026, allocations: 0 / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.129e-05/0.4026, allocations: 7.922 kB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 1.914e-05/0.4027, allocations: 0 / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.4028, allocations: 8 kB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.928e-05/0.4028, allocations: 27.86 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.282e-05/0.4029, allocations: 4 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.278e-05/0.403, allocations: 15.97 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.066e-05/0.403, allocations: 15.92 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.403, allocations: 4 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.4031, allocations: 4 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.4031, allocations: 4 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.4031, allocations: 15.92 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.139e-05/0.4032, allocations: 27.84 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4032, allocations: 0 / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4032, allocations: 0 / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.4032, allocations: 0 / 1.286 GB, free: 10.11 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.0004292/0.4037, allocations: 280.5 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.4037, allocations: 8.031 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.496e-05/0.4037, allocations: 4.188 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.4037, allocations: 42.69 kB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.4038, allocations: 4.891 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.4039, allocations: 106.5 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4039, allocations: 4.375 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.4039, allocations: 4.375 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.4041, allocations: 53.98 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.4041, allocations: 7.984 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.4041, allocations: 4 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4041, allocations: 3.984 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.4043, allocations: 39.91 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.4047, allocations: 243.9 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.4048, allocations: 38.55 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.062e-05/0.4049, allocations: 24.84 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.4049, allocations: 0 / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.4049, allocations: 30.56 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.4049, allocations: 0 / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003512/0.4053, allocations: 77.64 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.4053, allocations: 51.41 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.4054, allocations: 101.9 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.4054, allocations: 25.7 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.4055, allocations: 92.11 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.4055, allocations: 3.953 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.4055, allocations: 13.72 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4057, allocations: 318.9 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.4057, allocations: 19.92 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.4058, allocations: 19.97 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.406, allocations: 32.83 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.406, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001852/0.4061, allocations: 69.66 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.4062, allocations: 4 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.4062, allocations: 0 / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.4062, allocations: 4 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.4063, allocations: 7.984 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.4063, allocations: 0 / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.4063, allocations: 4 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.4063, allocations: 3.938 kB / 1.287 GB, free: 8.203 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 8.539e-05/0.4064, allocations: 125.7 kB / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.4064, allocations: 256 / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.4064, allocations: 7.156 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4064, allocations: 0 / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4064, allocations: 4 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4064, allocations: 0 / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.4066, allocations: 140.6 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4066, allocations: 0 / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.4066, allocations: 4 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.4066, allocations: 4 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.4067, allocations: 4 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4067, allocations: 0 / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4067, allocations: 0 / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.4069, allocations: 159.4 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.4069, allocations: 4 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.4069, allocations: 8.031 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.407, allocations: 3.984 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.407, allocations: 7.938 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.407, allocations: 0 / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.4071, allocations: 83.27 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4071, allocations: 0 / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002096/0.4073, allocations: 4 kB / 1.288 GB, free: 7.59 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.0005304/0.4078, allocations: 0.689 MB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.408, allocations: 31.97 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.408, allocations: 96 / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.37e-05/0.4081, allocations: 27.91 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.4084, allocations: 4 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.4098, allocations: 1.226 MB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.4101, allocations: 0.6846 MB / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.186e-05/0.4101, allocations: 4 kB / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.4101, allocations: 11.42 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4101, allocations: 0 / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.4316, allocations: 1.425 MB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.92, allocations: 6.172 kB / 1.292 GB, free: 3.5 MB / 0.9825 GB " [Timeout remaining time 287] (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.66819605603814]