Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001467/0.001467, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.001635/0.001635, allocations: 214.9 kB / 22.24 MB, free: 5.105 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.82 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.278/3.278, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Reals.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",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.002097/0.002097, allocations: 63.41 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3937, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002324/0.396, allocations: 0.7453 MB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3973, allocations: 0.8549 MB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.3974, allocations: 4 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.871e-05/0.3974, allocations: 11.88 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.3975, allocations: 15.91 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3977, allocations: 23.97 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.3979, allocations: 71.78 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.398, allocations: 15.98 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.929e-05/0.3981, allocations: 31.91 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.3982, allocations: 39.77 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.3982, allocations: 8 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.3982, allocations: 4 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.3983, allocations: 19.92 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.3983, allocations: 27.86 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.3985, allocations: 79.91 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3985, allocations: 0 / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3985, allocations: 0 / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3985, allocations: 0 / 1.365 GB, free: 12.15 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006344/0.3991, allocations: 298.1 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3992, allocations: 12.03 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.3992, allocations: 34.75 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.3992, allocations: 8.891 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3994, allocations: 126.4 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3994, allocations: 8.375 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.3994, allocations: 4.375 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.3997, allocations: 86.14 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3997, allocations: 3.938 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3997, allocations: 0 / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3997, allocations: 7.984 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.3999, allocations: 63.94 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.4004, allocations: 283.8 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.4007, allocations: 82.47 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.4009, allocations: 40.92 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.4009, allocations: 4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.4009, allocations: 30.56 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4009, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004869/0.4014, allocations: 137.6 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.4014, allocations: 59.34 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.4016, allocations: 125.9 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.4016, allocations: 25.7 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.4017, allocations: 100.1 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.4017, allocations: 11.86 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.4017, allocations: 21.7 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.4019, allocations: 322.8 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.402, allocations: 31.97 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.4021, allocations: 35.97 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.4024, allocations: 64.81 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4024, allocations: 0 / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003005/0.4027, allocations: 109.5 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4027, allocations: 4 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.4027, allocations: 0 / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.4027, allocations: 3.938 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.4029, allocations: 19.98 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4029, allocations: 0 / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.114e-05/0.4029, allocations: 7.984 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.403, allocations: 8 kB / 1.367 GB, free: 9.816 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001077/0.4031, allocations: 114.4 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.4031, allocations: 11.95 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.4031, allocations: 12.38 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4031, allocations: 3.984 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4031, allocations: 0 / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4031, allocations: 0 / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.4034, allocations: 160.7 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4034, allocations: 0 / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.4035, allocations: 16.42 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4035, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.4035, allocations: 4 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.4035, allocations: 7.938 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4035, allocations: 0 / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.4039, allocations: 207.4 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.4039, allocations: 7.953 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.4039, allocations: 0 / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.404, allocations: 11.92 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.4041, allocations: 15.98 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.4041, allocations: 4 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.4042, allocations: 91.27 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4042, allocations: 0 / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002337/0.4044, allocations: 12 kB / 1.368 GB, free: 9.078 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0007454/0.4052, allocations: 0.7435 MB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.4055, allocations: 67.94 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4055, allocations: 0 / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.4057, allocations: 43.91 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.406, allocations: 8.766 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.4082, allocations: 1.45 MB / 1.37 GB, free: 6.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.977e-05/0.4082, allocations: 73.36 kB / 1.37 GB, free: 6.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.523e-05/0.4083, allocations: 8.188 kB / 1.37 GB, free: 6.562 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.4084, allocations: 23.42 kB / 1.37 GB, free: 6.539 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.4084, allocations: 3.938 kB / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.4418, allocations: 2.955 MB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12, allocations: 9.594 kB / 1.373 GB, free: 3.711 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.834846331272274]