Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.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.001686/0.001686, allocations: 101.8 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.002298/0.002298, allocations: 217 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.704/1.704, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.523/3.523, allocations: 0.49 GB / 0.7959 GB, free: 33.43 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.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Round",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.002041/0.002041, allocations: 70.08 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3919, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001911/0.3938, allocations: 0.6048 MB / 1.327 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002998/0.3941, allocations: 72.09 kB / 1.327 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.949e-05/0.3942, allocations: 0 / 1.327 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.3942, allocations: 0 / 1.327 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.664e-06/0.3942, allocations: 4 kB / 1.327 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.3944, allocations: 23.92 kB / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.275e-05/0.3945, allocations: 12 kB / 1.327 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.3945, allocations: 3.984 kB / 1.327 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.927e-05/0.3946, allocations: 7.938 kB / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.3946, allocations: 11.98 kB / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.3946, allocations: 0 / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.536e-05/0.3947, allocations: 11.98 kB / 1.327 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.3947, allocations: 4 kB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.3947, allocations: 11.92 kB / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.549e-05/0.3948, allocations: 24.19 kB / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3948, allocations: 0 / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3948, allocations: 0 / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.3948, allocations: 4 kB / 1.327 GB, free: 1.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000371/0.3952, allocations: 246.3 kB / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3952, allocations: 15.97 kB / 1.328 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.715e-05/0.3953, allocations: 8.172 kB / 1.328 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.3953, allocations: 30.75 kB / 1.328 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.3953, allocations: 0.9375 kB / 1.328 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.17e-05/0.3954, allocations: 106.5 kB / 1.328 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-06/0.3954, allocations: 384 / 1.328 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.3954, allocations: 12.36 kB / 1.328 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3956, allocations: 78.22 kB / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3956, allocations: 0 / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.3956, allocations: 4 kB / 1.328 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3956, allocations: 0 / 1.328 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.967e-05/0.3956, allocations: 11.94 kB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.3958, allocations: 156.2 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3959, allocations: 101 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.396, allocations: 32.42 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.3961, allocations: 7.984 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3962, allocations: 50.42 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3962, allocations: 4 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.0001954/0.3964, allocations: 65.56 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.3965, allocations: 154.2 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.05e-05/0.3965, allocations: 93.84 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3966, allocations: 29.7 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.3966, allocations: 80.77 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.3966, allocations: 19.84 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.3967, allocations: 21.66 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3969, allocations: 314.8 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.3969, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/0.3969, allocations: 44.23 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.088e-05/0.397, allocations: 52.22 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.397, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001147/0.3971, allocations: 61.62 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3972, allocations: 8.094 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3972, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3972, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.3973, allocations: 15.92 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3973, allocations: 3.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.3973, allocations: 7.953 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3973, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 9.39e-05/0.3974, allocations: 114.4 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.3974, allocations: 7.938 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.3976, allocations: 100.5 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3976, allocations: 3.938 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3977, allocations: 4 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3977, allocations: 3.984 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.3978, allocations: 132.7 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3978, allocations: 8.156 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.17e-05/0.3979, allocations: 12 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3979, allocations: 4.062 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3979, allocations: 8 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3979, allocations: 0 / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.3979, allocations: 7.984 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.3981, allocations: 124.5 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.3981, allocations: 7.938 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.3981, allocations: 3.938 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.3981, allocations: 8 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.3981, allocations: 11.92 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3981, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.631e-05/0.3982, allocations: 79.28 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3982, allocations: 4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002163/0.3984, allocations: 8 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0005437/0.3989, allocations: 0.6665 MB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.3991, allocations: 35.86 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.3991, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.03e-05/0.3991, allocations: 23.94 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3993, allocations: 6.031 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.3997, allocations: 189.8 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4, allocations: 0.6807 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.4001, allocations: 8 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.4001, allocations: 23.36 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4001, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.4228, allocations: 1.598 MB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.45, allocations: 12.19 kB / 1.333 GB, free: 11.07 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.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: 19.049242398003116]