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.005456/0.005456, allocations: 100.6 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.001502/0.001502, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.365/2.365, allocations: 437.1 MB / 0.7105 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 71.84 kB / 1.018 GB, free: 9.805 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7252, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001672/0.7269, allocations: 0.5944 MB / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00027/0.7272, allocations: 69.67 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.7273, allocations: 0 / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.7273, allocations: 0 / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-06/0.7273, allocations: 0 / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.7276, allocations: 31.91 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.823e-05/0.7276, allocations: 12 kB / 1.167 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.7277, allocations: 3.984 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.7277, allocations: 4 kB / 1.167 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.7278, allocations: 11.92 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.7278, allocations: 0 / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.7278, allocations: 15.98 kB / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.7279, allocations: 0 / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.7279, allocations: 15.92 kB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.022e-05/0.728, allocations: 11.97 kB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.728, allocations: 4 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.213e-06/0.728, allocations: 0 / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.728, allocations: 0 / 1.167 GB, free: 2.969 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.0003703/0.7284, allocations: 331.2 kB / 1.167 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.7284, allocations: 8.922 kB / 1.167 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.7285, allocations: 38.67 kB / 1.167 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.071e-05/0.7285, allocations: 0.9375 kB / 1.167 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.7286, allocations: 168.4 kB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.7286, allocations: 384 / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.7286, allocations: 4.375 kB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.7287, allocations: 66.55 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7288, allocations: 7.875 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.7288, allocations: 4 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.7288, allocations: 4 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.076e-05/0.7288, allocations: 19.92 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.729, allocations: 181.2 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.7291, allocations: 101.1 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.7292, allocations: 42.69 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.7294, allocations: 81.11 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.7294, allocations: 38.56 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.7294, allocations: 4 kB / 1.168 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0001841/0.7296, allocations: 77.42 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.7297, allocations: 158.2 kB / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.089e-05/0.7297, allocations: 93.8 kB / 1.168 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.7298, allocations: 25.7 kB / 1.168 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.7298, allocations: 80.77 kB / 1.168 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.7298, allocations: 23.84 kB / 1.168 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.7299, allocations: 17.72 kB / 1.168 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.73, allocations: 314.8 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.73, allocations: 7.984 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.7301, allocations: 32.3 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/0.7301, allocations: 56.17 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7301, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.953e-05/0.7303, allocations: 61.61 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.7303, allocations: 4.156 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7303, allocations: 7.938 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.7303, allocations: 4 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/0.7304, allocations: 11.94 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.7304, allocations: 3.984 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.7304, allocations: 4 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.7304, allocations: 0 / 1.169 GB, free: 0.5508 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 7.985e-05/0.7305, allocations: 117.8 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.7305, allocations: 4 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.7307, allocations: 108.7 kB / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.7307, allocations: 0 / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.7308, allocations: 8 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.7308, allocations: 0 / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.7309, allocations: 165.6 kB / 1.169 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7309, allocations: 8.156 kB / 1.169 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.731, allocations: 19.92 kB / 1.169 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.731, allocations: 0 / 1.169 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.731, allocations: 11.94 kB / 1.169 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.731, allocations: 0 / 1.169 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.731, allocations: 7.938 kB / 1.169 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.7312, allocations: 120.5 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.7312, allocations: 81.06 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.7313, allocations: 11.94 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.684e-05/0.7313, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.7313, allocations: 11.92 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.7313, allocations: 4.094 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.7314, allocations: 83.22 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7314, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001997/0.7316, allocations: 15.94 kB / 1.17 GB, free: 15.67 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.0004799/0.7321, allocations: 0.6587 MB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.7322, allocations: 31.92 kB / 1.17 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7322, allocations: 3.938 kB / 1.17 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.7322, allocations: 27.92 kB / 1.17 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.7324, allocations: 8.625 kB / 1.17 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.7328, allocations: 178.7 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.733, allocations: 0.6768 MB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.7331, allocations: 15.98 kB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.7331, allocations: 11.44 kB / 1.171 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.7331, allocations: 0 / 1.171 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7535/1.487, allocations: 1.419 MB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.96, allocations: 10.14 kB / 1.173 GB, free: 12.59 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=400 --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