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.001337/0.001337, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001528/0.001528, allocations: 221.9 kB / 22.26 MB, free: 5.125 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.961 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.872/2.872, allocations: 476.7 MB / 0.7707 GB, free: 4.242 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.0033/0.0033, allocations: 68.33 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.361, allocations: 169.9 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002112/0.3631, allocations: 0.6543 MB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3642, allocations: 0.8316 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.3643, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.065e-05/0.3644, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.914e-05/0.3644, allocations: 7.938 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.3645, allocations: 11.92 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.3646, allocations: 23.86 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.3647, allocations: 8 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.3647, allocations: 11.98 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.3648, allocations: 15.91 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3648, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.3648, allocations: 4 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.3648, allocations: 12 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.3649, allocations: 7.938 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.564e-05/0.365, allocations: 31.89 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.365, allocations: 0 / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.365, allocations: 0 / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.365, allocations: 0 / 1.285 GB, free: 10.03 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.0004556/0.3654, allocations: 266.8 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3655, allocations: 8.031 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.3655, allocations: 42.73 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.3655, allocations: 8.828 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3657, allocations: 114.5 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-06/0.3657, allocations: 384 / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.3657, allocations: 8.359 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3659, allocations: 54.23 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.3659, allocations: 3.938 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.3659, allocations: 4 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3659, allocations: 0 / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.3661, allocations: 39.95 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.3665, allocations: 247.9 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.3666, allocations: 34.56 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.552e-05/0.3667, allocations: 24.89 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3667, allocations: 0 / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3667, allocations: 30.56 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.3667, allocations: 0 / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003341/0.3671, allocations: 77.59 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.3671, allocations: 55.39 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.3672, allocations: 106 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.3672, allocations: 29.7 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.3673, allocations: 84.12 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.3673, allocations: 7.938 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.3673, allocations: 13.72 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3675, allocations: 318.8 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-05/0.3676, allocations: 11.98 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.045e-05/0.3676, allocations: 23.98 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.3678, allocations: 40.69 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3678, allocations: 0 / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001809/0.368, allocations: 61.66 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.368, allocations: 7.938 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.368, allocations: 4.094 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.368, allocations: 4 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.3681, allocations: 4 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.3681, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.3681, allocations: 7.984 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.3681, allocations: 0 / 1.287 GB, free: 8.125 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.0001007/0.3682, allocations: 118.6 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.3683, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.624e-05/0.3683, allocations: 11.14 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3683, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3683, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.3683, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.3685, allocations: 132.7 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3685, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.3685, allocations: 7.984 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3685, allocations: 3.938 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3685, allocations: 4 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3685, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3685, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.3688, allocations: 167.4 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.3688, allocations: 3.938 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3688, allocations: 4 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.3689, allocations: 3.984 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.3689, allocations: 4 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.3689, allocations: 4.031 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.146e-05/0.3689, allocations: 91.52 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3689, allocations: 0 / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000211/0.3691, allocations: 4 kB / 1.287 GB, free: 7.512 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.000546/0.3697, allocations: 0.6928 MB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.3699, allocations: 27.97 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3699, allocations: 0 / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.37, allocations: 15.98 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3702, allocations: 8.141 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.3718, allocations: 1.237 MB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3721, allocations: 0.6807 MB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.3722, allocations: 0 / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.3722, allocations: 15.44 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3722, allocations: 4.031 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.3998, allocations: 1.392 MB / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.65, allocations: 9.734 kB / 1.291 GB, free: 3.434 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.299965322948992]