Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005151/0.005151, allocations: 96.3 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 191.6 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.808/2.808, allocations: 469.4 MB / 0.7421 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3053, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002093/0.3074, allocations: 0.5914 MB / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003639/0.3078, allocations: 75.53 kB / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.3079, allocations: 0 / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.3079, allocations: 0 / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.929e-06/0.308, allocations: 0 / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.3083, allocations: 23.91 kB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.708e-05/0.3083, allocations: 12 kB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.3084, allocations: 7.984 kB / 1.22 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/0.3084, allocations: 4 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.3085, allocations: 3.938 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.3085, allocations: 4 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.335e-05/0.3086, allocations: 15.98 kB / 1.221 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.3086, allocations: 7.984 kB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.3087, allocations: 7.922 kB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.3088, allocations: 15.98 kB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3088, allocations: 0 / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3088, allocations: 4 kB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.3088, allocations: 0 / 1.221 GB, free: 13.86 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.0004156/0.3092, allocations: 331.4 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3093, allocations: 12.03 kB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.3093, allocations: 30.75 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.3094, allocations: 4.922 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3095, allocations: 160.4 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3095, allocations: 8.375 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.3095, allocations: 384 / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3097, allocations: 78.48 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3097, allocations: 3.938 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3097, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3097, allocations: 4 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.3098, allocations: 15.92 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.31, allocations: 187 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.3101, allocations: 101 kB / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.3102, allocations: 36.36 kB / 1.221 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.3104, allocations: 85.09 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3104, allocations: 38.5 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3104, allocations: 0 / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002019/0.3106, allocations: 77.48 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.3107, allocations: 158.2 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.589e-05/0.3107, allocations: 93.86 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3108, allocations: 25.7 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.31e-05/0.3108, allocations: 80.14 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.3108, allocations: 20.42 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.3109, allocations: 25.7 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.311, allocations: 310.8 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.311, allocations: 8 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/0.3111, allocations: 36.22 kB / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.3111, allocations: 52.23 kB / 1.222 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3111, allocations: 0 / 1.222 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000111/0.3112, allocations: 61.61 kB / 1.222 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3113, allocations: 9.406 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3113, allocations: 4.094 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3113, allocations: 4 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.3114, allocations: 11.94 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3114, allocations: 4 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.3115, allocations: 3.984 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.3115, allocations: 4 kB / 1.223 GB, free: 11.43 MB / 0.9825 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 8.291e-05/0.3116, allocations: 115.2 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.3116, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.3118, allocations: 116.6 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3118, allocations: 7.938 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3118, allocations: 0 / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.3118, allocations: 4 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.312, allocations: 161.7 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.312, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.3121, allocations: 20.14 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.3121, allocations: 4 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3121, allocations: 7.938 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3121, allocations: 7.938 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3121, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.3123, allocations: 124.5 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.3123, allocations: 85.06 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3123, allocations: 7.938 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.35e-05/0.3124, allocations: 4 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.3124, allocations: 11.92 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3124, allocations: 4 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.708e-05/0.3124, allocations: 75.28 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3125, allocations: 4 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002227/0.3127, allocations: 12.09 kB / 1.223 GB, free: 10.57 MB / 0.9825 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.0004989/0.3132, allocations: 0.6664 MB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.3133, allocations: 35.86 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.3133, allocations: 4 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.3134, allocations: 27.92 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.3136, allocations: 8 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.314, allocations: 174.5 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.3143, allocations: 0.6768 MB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.892e-05/0.3143, allocations: 15.98 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.3144, allocations: 15.38 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of SimCode: time 2.034e-06/0.3144, allocations: 0 / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.334, allocations: 1.441 MB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/8.029, allocations: 6.25 kB / 1.226 GB, free: 7.469 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches