Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_9_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.005111/0.005111, allocations: 101.4 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.001134/0.001134, allocations: 188.3 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.301/1.301, 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 9.1.3-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 0.9504 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.738/0.7394, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001641/0.741, allocations: 0.5803 MB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000265/0.7413, allocations: 69.98 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.7413, allocations: 4 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.7414, allocations: 1.094 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.736e-06/0.7414, allocations: 0 / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.7416, allocations: 19.84 kB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.801e-05/0.7417, allocations: 7.938 kB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.7418, allocations: 6.641 kB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.441e-05/0.7418, allocations: 15.88 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.7419, allocations: 5.25 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.7419, allocations: 1.094 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.742, allocations: 14.17 kB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.742, allocations: 7.656 kB / 1.088 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.742, allocations: 5.562 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.006e-05/0.7421, allocations: 20.59 kB / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7421, allocations: 0 / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7421, allocations: 1.094 kB / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.7421, allocations: 7.875 kB / 1.088 GB, free: 4.809 MB / 0.8575 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.0003099/0.7424, allocations: 325.8 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.7425, allocations: 8.719 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.312e-05/0.7425, allocations: 32.84 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.7426, allocations: 6.719 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.237e-05/0.7426, allocations: 164.9 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.7426, allocations: 2.25 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.7426, allocations: 5.688 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.7428, allocations: 68.12 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.7428, allocations: 8.531 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.7428, allocations: 5.062 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.7428, allocations: 5.234 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.7428, allocations: 16.61 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.743, allocations: 179.9 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.08e-05/0.7431, allocations: 99.28 kB / 1.089 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.7431, allocations: 39.56 kB / 1.089 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.7433, allocations: 81.98 kB / 1.089 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.7433, allocations: 41.95 kB / 1.089 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.7433, allocations: 0 / 1.089 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001826/0.7435, allocations: 75.48 kB / 1.089 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.7435, allocations: 157.5 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.87e-05/0.7436, allocations: 94.38 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.7436, allocations: 30.83 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.041e-05/0.7436, allocations: 80.14 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.7436, allocations: 23.56 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.7437, allocations: 19.84 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.7437, allocations: 312.6 kB / 1.09 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.7437, allocations: 3.719 kB / 1.09 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.7438, allocations: 39.94 kB / 1.09 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.538e-05/0.7438, allocations: 46.61 kB / 1.09 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7438, allocations: 0 / 1.09 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.389e-05/0.7439, allocations: 71.66 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.7439, allocations: 5.125 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.744, allocations: 5.547 kB / 1.09 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.744, allocations: 2.125 kB / 1.09 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.744, allocations: 13.28 kB / 1.09 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7441, allocations: 6.703 kB / 1.09 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.7441, allocations: 2.125 kB / 1.09 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.7441, allocations: 2.875 kB / 1.09 GB, free: 2.598 MB / 0.8575 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 4.6e-05/0.7442, allocations: 117.6 kB / 1.09 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.7442, allocations: 2.188 kB / 1.09 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.7443, allocations: 97.22 kB / 1.09 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.7444, allocations: 11.05 kB / 1.09 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7444, allocations: 5.219 kB / 1.09 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7444, allocations: 2.047 kB / 1.09 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.7445, allocations: 167.6 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7445, allocations: 1.219 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.7446, allocations: 18.14 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7446, allocations: 2.062 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.7446, allocations: 7.125 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7446, allocations: 1.828 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.7446, allocations: 1.781 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.7447, allocations: 123 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.7447, allocations: 88.08 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.7448, allocations: 7.266 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.939e-05/0.7448, allocations: 6.219 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.7448, allocations: 10.17 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.7448, allocations: 3.844 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.149e-05/0.7448, allocations: 80.12 kB / 1.091 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7448, allocations: 0 / 1.091 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002114/0.7451, allocations: 9.719 kB / 1.091 GB, free: 1.887 MB / 0.8575 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.000378/0.7454, allocations: 0.6596 MB / 1.092 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.7456, allocations: 33.17 kB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.7456, allocations: 320 / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.74e-05/0.7456, allocations: 30.94 kB / 1.092 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.7458, allocations: 8.359 kB / 1.092 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.7461, allocations: 171.5 kB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.7464, allocations: 0.6835 MB / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.7464, allocations: 17.5 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.7465, allocations: 16.83 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.7465, allocations: 0.9688 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.7638, allocations: 1.425 MB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/8.295, allocations: 7.812 kB / 1.094 GB, free: 15.91 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches