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.005127/0.005127, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001205/0.001205, allocations: 196.9 kB / 16.67 MB, free: 5.93 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.485/2.485, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 71.89 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7204/0.7217, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001626/0.7234, allocations: 0.6 MB / 1.167 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002579/0.7237, allocations: 65.75 kB / 1.167 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.7237, allocations: 3.938 kB / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.7237, allocations: 0 / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.7237, allocations: 0 / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.724, allocations: 27.89 kB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.555e-05/0.724, allocations: 12 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.7241, allocations: 0 / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.823e-05/0.7241, allocations: 8 kB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.7242, allocations: 11.92 kB / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.7242, allocations: 0 / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/0.7243, allocations: 19.97 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.7243, allocations: 0 / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.7243, allocations: 4 kB / 1.167 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.609e-05/0.7244, allocations: 27.89 kB / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7244, allocations: 0 / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7244, allocations: 0 / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.7244, allocations: 4 kB / 1.167 GB, free: 2.996 MB / 0.8887 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.0003227/0.7247, allocations: 323.6 kB / 1.167 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.7248, allocations: 8.922 kB / 1.167 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.7248, allocations: 34.69 kB / 1.167 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.7249, allocations: 8.875 kB / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.544e-05/0.7249, allocations: 160.4 kB / 1.167 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.725, allocations: 4.359 kB / 1.167 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.725, allocations: 384 / 1.167 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.7251, allocations: 78.48 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7251, allocations: 3.938 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.7251, allocations: 4 kB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.7251, allocations: 0 / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.02e-05/0.7252, allocations: 15.92 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.7254, allocations: 179.5 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.7254, allocations: 101 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.7255, allocations: 38.89 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.7257, allocations: 85.09 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.7257, allocations: 34.56 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.7257, allocations: 0 / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0001778/0.7259, allocations: 85.34 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.726, allocations: 158.2 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.937e-05/0.726, allocations: 93.8 kB / 1.168 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.726, allocations: 25.7 kB / 1.168 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.726, allocations: 88.14 kB / 1.168 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.7261, allocations: 12.38 kB / 1.168 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.7261, allocations: 21.7 kB / 1.168 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.7262, allocations: 314.8 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.7262, allocations: 8 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.625e-05/0.7263, allocations: 40.28 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.549e-05/0.7264, allocations: 52.17 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7264, allocations: 0 / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.958e-05/0.7265, allocations: 61.62 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.7265, allocations: 4 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.7265, allocations: 3.938 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7265, allocations: 8.141 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.331e-05/0.7266, allocations: 15.94 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.7266, allocations: 0 / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.7266, allocations: 4 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.7266, allocations: 0 / 1.169 GB, free: 0.5859 MB / 0.8887 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.452e-05/0.7267, allocations: 117.8 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.7267, allocations: 4 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.7269, allocations: 100.5 kB / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7269, allocations: 3.984 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.727, allocations: 7.984 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.727, allocations: 0 / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.7271, allocations: 165.7 kB / 1.169 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7271, allocations: 8.062 kB / 1.169 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/0.7272, allocations: 19.94 kB / 1.169 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.7272, allocations: 8.141 kB / 1.169 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.7272, allocations: 7.938 kB / 1.169 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7272, allocations: 0 / 1.169 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7272, allocations: 7.984 kB / 1.169 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.7274, allocations: 120.5 kB / 1.169 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.7274, allocations: 92.94 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.7274, allocations: 3.938 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.144e-05/0.7275, allocations: 4 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.7275, allocations: 11.94 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.7275, allocations: 3.938 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.114e-05/0.7275, allocations: 75.28 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7275, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002134/0.7277, allocations: 15.98 kB / 1.17 GB, free: 15.7 MB / 0.9044 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.0003965/0.7281, allocations: 0.6626 MB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.7283, allocations: 35.86 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7283, allocations: 0 / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.64e-05/0.7283, allocations: 23.94 kB / 1.17 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.7285, allocations: 6.109 kB / 1.17 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.7288, allocations: 182.6 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.729, allocations: 0.6807 MB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.716e-05/0.7291, allocations: 7.906 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.7291, allocations: 23.61 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.7291, allocations: 0 / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08207/0.8112, allocations: 1.417 MB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.797, allocations: 5.578 kB / 1.173 GB, free: 12.62 MB / 0.9044 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) Reference file matches