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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.0008042/0.0008042, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004852/0.004852, allocations: 170 kB / 16.26 MB, free: 6.613 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.65/2.65, allocations: 462.7 MB / 0.7364 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 10.84 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2955, allocations: 159.6 MB / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.00073/0.2963, allocations: 342.8 kB / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003068/0.2966, allocations: 67.7 kB / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.387e-05/0.2966, allocations: 0 / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.2967, allocations: 0 / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-06/0.2967, allocations: 4 kB / 1.059 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.2969, allocations: 15.98 kB / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.297, allocations: 15.98 kB / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.297, allocations: 0 / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.297, allocations: 4 kB / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.2971, allocations: 15.91 kB / 1.059 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.2971, allocations: 0 / 1.059 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-05/0.2972, allocations: 15.98 kB / 1.059 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.2973, allocations: 0 / 1.059 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.2973, allocations: 37.64 kB / 1.059 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.291e-05/0.2974, allocations: 19.95 kB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2974, allocations: 0 / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2974, allocations: 4 kB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.2974, allocations: 4 kB / 1.059 GB, free: 4.254 MB / 0.8106 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.0003761/0.2978, allocations: 311.6 kB / 1.06 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.2979, allocations: 19.89 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.2979, allocations: 34.75 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.2979, allocations: 0.9375 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2981, allocations: 164.3 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2981, allocations: 384 / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.2981, allocations: 8.375 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.2983, allocations: 82.47 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2983, allocations: 7.922 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2983, allocations: 0 / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2983, allocations: 0 / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.2984, allocations: 11.94 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.2986, allocations: 189.3 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2987, allocations: 93.02 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.2988, allocations: 44.47 kB / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.299, allocations: 81.11 kB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.299, allocations: 38.5 kB / 1.06 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.299, allocations: 0 / 1.06 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002155/0.2993, allocations: 77.48 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/0.2994, allocations: 158.2 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.527e-05/0.2994, allocations: 89.86 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2994, allocations: 29.7 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.2995, allocations: 80.77 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.2995, allocations: 15.7 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.2996, allocations: 21.72 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2997, allocations: 310.8 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.2997, allocations: 4 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.2998, allocations: 40.22 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.2998, allocations: 48.23 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2999, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.3, allocations: 61.61 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3, allocations: 8 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3, allocations: 3.938 kB / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3, allocations: 4.156 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.3001, allocations: 11.94 kB / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3001, allocations: 4 kB / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.3002, allocations: 4 kB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.3002, allocations: 7.984 kB / 1.061 GB, free: 1.848 MB / 0.8106 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.799e-05/0.3003, allocations: 109.8 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.3003, allocations: 0 / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.3005, allocations: 112.7 kB / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3005, allocations: 4 kB / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3005, allocations: 0 / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3006, allocations: 7.938 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.3007, allocations: 169.6 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3007, allocations: 0 / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.3008, allocations: 24.08 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3008, allocations: 4 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3008, allocations: 7.875 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3008, allocations: 4 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3008, allocations: 0 / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.301, allocations: 124.5 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.301, allocations: 81.11 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.301, allocations: 7.938 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/0.3011, allocations: 0 / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.3011, allocations: 15.92 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3011, allocations: 4 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.322e-05/0.3011, allocations: 75.28 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3011, allocations: 4 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002198/0.3013, allocations: 12 kB / 1.062 GB, free: 0.9844 MB / 0.8106 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.0003891/0.3017, allocations: 0.6625 MB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.3018, allocations: 31.92 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3019, allocations: 0 / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.3019, allocations: 27.88 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.302, allocations: 11.98 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.3024, allocations: 180.5 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3026, allocations: 0.6809 MB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.3027, allocations: 15.98 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.3027, allocations: 15.44 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3027, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009846/0.3126, allocations: 1.228 MB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.3127, allocations: 206.8 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.123, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,ym2,ym1,y,y1,y2 Variables in the result:time,y,y1,y2,ym1,ym2