Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_10_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.0007692/0.0007692, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.004876/0.004877, allocations: 171 kB / 16.27 MB, free: 6.652 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.345/1.345, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 12 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6294/0.6298, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0008648/0.6307, allocations: 341.5 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003112/0.631, allocations: 59.67 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.361e-05/0.631, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.6311, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.6311, allocations: 3.938 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.6313, allocations: 23.97 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.4e-05/0.6314, allocations: 12 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.6314, allocations: 3.984 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.819e-05/0.6314, allocations: 4 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.6315, allocations: 7.938 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.6315, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.6316, allocations: 19.97 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.6316, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.6317, allocations: 37.69 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.363e-05/0.6317, allocations: 15.91 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6318, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6318, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.6318, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.7794 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.0003441/0.6321, allocations: 327.5 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6322, allocations: 12.03 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.6322, allocations: 30.75 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.6322, allocations: 4.938 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.435e-05/0.6323, allocations: 168.3 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.6324, allocations: 384 / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.6324, allocations: 8.375 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.6325, allocations: 70.55 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.6325, allocations: 7.875 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.6325, allocations: 3.938 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.6326, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.6326, allocations: 15.92 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.6328, allocations: 175.4 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.784e-05/0.6329, allocations: 101.1 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.633, allocations: 40.36 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.6332, allocations: 89.03 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.6332, allocations: 38.56 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.6332, allocations: 0 / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001884/0.6334, allocations: 78.02 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.6335, allocations: 158.2 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.788e-05/0.6336, allocations: 89.86 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.6336, allocations: 33.7 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.6337, allocations: 80.14 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.6337, allocations: 11.75 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.6338, allocations: 17.72 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6339, allocations: 314.8 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.6339, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.6339, allocations: 40.3 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.779e-05/0.634, allocations: 48.22 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.634, allocations: 4 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001106/0.6341, allocations: 65.47 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.6342, allocations: 8 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6342, allocations: 4.062 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6342, allocations: 4 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.6343, allocations: 11.98 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.6343, allocations: 7.938 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.6343, allocations: 4 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.6344, allocations: 8.156 kB / 1.026 GB, free: 12.91 MB / 0.7794 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.752e-05/0.6345, allocations: 110.4 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.6345, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.6347, allocations: 104.6 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6347, allocations: 4 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6347, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.6347, allocations: 4 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.6349, allocations: 173.5 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6349, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.635, allocations: 15.94 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.635, allocations: 4 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.635, allocations: 3.938 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.635, allocations: 4 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.635, allocations: 8.141 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.6352, allocations: 124.4 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.6352, allocations: 85.05 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.6352, allocations: 11.94 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.947e-05/0.6353, allocations: 4 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.6353, allocations: 11.98 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.6353, allocations: 4 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.6354, allocations: 79.22 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6354, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003093/0.6357, allocations: 4 kB / 1.026 GB, free: 12.05 MB / 0.7794 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.0005229/0.6362, allocations: 0.6689 MB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.6363, allocations: 36.05 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6363, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.6364, allocations: 23.92 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.6365, allocations: 8 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.6369, allocations: 188.3 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.6372, allocations: 0.6809 MB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.088e-05/0.6372, allocations: 4 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.6373, allocations: 15.44 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.6373, allocations: 4 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.6482, allocations: 1.223 MB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.6484, allocations: 196.1 kB / 1.029 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.294, allocations: 0 / 1.029 GB, free: 8.949 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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