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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001454/0.001454, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001703/0.001703, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 60.09 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6019, allocations: 151.6 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001731/0.6037, allocations: 0.6645 MB / 1.018 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002284/0.6039, allocations: 67.7 kB / 1.018 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.408e-05/0.604, allocations: 0 / 1.018 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.604, allocations: 0 / 1.018 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.604, allocations: 0 / 1.018 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.6042, allocations: 23.97 kB / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.099e-05/0.6043, allocations: 8 kB / 1.018 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.6043, allocations: 4 kB / 1.018 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.6043, allocations: 11.98 kB / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.6044, allocations: 15.92 kB / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.6044, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-05/0.6045, allocations: 15.92 kB / 1.018 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.6045, allocations: 4 kB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.6045, allocations: 3.938 kB / 1.018 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.493e-05/0.6046, allocations: 19.95 kB / 1.018 GB, free: 2 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6046, allocations: 4 kB / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6046, allocations: 0 / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.6046, allocations: 0 / 1.018 GB, free: 1.996 MB / 0.7637 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.0003539/0.605, allocations: 327.5 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.605, allocations: 12.03 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.6051, allocations: 34.75 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.045e-05/0.6051, allocations: 0.9375 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.586e-05/0.6052, allocations: 164.4 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.6052, allocations: 4.375 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.6052, allocations: 384 / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.6053, allocations: 74.48 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.6053, allocations: 7.922 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.6054, allocations: 4 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.6054, allocations: 4 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.6054, allocations: 11.92 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.6056, allocations: 183.5 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.99e-05/0.6056, allocations: 100.9 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.6057, allocations: 28.36 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.6059, allocations: 93.09 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6059, allocations: 38.5 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.6059, allocations: 4 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of matching and sorting (n=5): time 0.0001703/0.6061, allocations: 74.11 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.6061, allocations: 162.2 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.817e-05/0.6062, allocations: 89.86 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.6062, allocations: 29.64 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 1.783e-05/0.6062, allocations: 80.14 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.6063, allocations: 23.73 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.6063, allocations: 25.7 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.6064, allocations: 314.8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.6064, allocations: 8 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.6064, allocations: 36.28 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.956e-05/0.6065, allocations: 48.23 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6065, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.199e-05/0.6066, allocations: 65.47 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6066, allocations: 11.98 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6066, allocations: 3.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.6067, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.6067, allocations: 8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.6067, allocations: 4.156 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.6068, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.6068, allocations: 4 kB / 1.02 GB, free: 15.57 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 6.208e-05/0.6069, allocations: 114.4 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.6069, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.6071, allocations: 112.5 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6071, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6071, allocations: 4 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6071, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.6072, allocations: 165.7 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6072, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.6073, allocations: 19.98 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6073, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.6073, allocations: 12.09 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6073, allocations: 3.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6073, allocations: 3.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.6075, allocations: 120.5 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.6075, allocations: 89.03 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.6075, allocations: 7.938 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.6076, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.6076, allocations: 8 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.6076, allocations: 7.984 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.092e-05/0.6076, allocations: 75.38 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6076, allocations: 3.938 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002055/0.6078, allocations: 8 kB / 1.02 GB, free: 14.71 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.0003886/0.6082, allocations: 0.6625 MB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.6083, allocations: 47.86 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6084, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.6084, allocations: 23.94 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.6086, allocations: 7.984 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.6089, allocations: 186.7 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.6091, allocations: 0.6807 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.6092, allocations: 7.984 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.6092, allocations: 19.44 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6092, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.6208, allocations: 1.314 MB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.621, allocations: 203.8 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.367, allocations: 2.672 kB / 1.024 GB, free: 11.5 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