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.007973/0.007973, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.00196/0.00196, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.34/1.34, 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.201/2.201, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 71.88 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7573/0.7587, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001549/0.7603, allocations: 0.5905 MB / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002236/0.7605, allocations: 71.52 kB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.629e-05/0.7605, allocations: 0 / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.7606, allocations: 0 / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.026e-06/0.7606, allocations: 5.031 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.7608, allocations: 20.56 kB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.989e-05/0.7609, allocations: 15.53 kB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.7609, allocations: 2.859 kB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.747e-05/0.7609, allocations: 8.266 kB / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.761, allocations: 9.234 kB / 1.088 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.761, allocations: 5.062 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.7611, allocations: 14.34 kB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.7611, allocations: 2.141 kB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.7611, allocations: 11.14 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.564e-05/0.7612, allocations: 20.48 kB / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7612, allocations: 0 / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7612, allocations: 3.938 kB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.7612, allocations: 1.188 kB / 1.088 GB, free: 4.812 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.000261/0.7615, allocations: 325.3 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.7615, allocations: 13.44 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.059e-05/0.7615, allocations: 32.77 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.7616, allocations: 1.875 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.891e-05/0.7616, allocations: 165.5 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.7616, allocations: 1.469 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.7616, allocations: 2.281 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.7618, allocations: 76.92 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.7618, allocations: 3.938 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.7618, allocations: 0.9375 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.7618, allocations: 0.75 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.7618, allocations: 16.38 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.762, allocations: 176.2 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.852e-05/0.762, allocations: 107.8 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.7621, allocations: 31.17 kB / 1.089 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.7622, allocations: 87.03 kB / 1.089 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.7622, allocations: 41.69 kB / 1.089 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.7622, allocations: 0 / 1.089 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001685/0.7624, allocations: 72.7 kB / 1.089 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.7624, allocations: 163.5 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.496e-05/0.7625, allocations: 90.56 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.7625, allocations: 26.89 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.075e-06/0.7625, allocations: 80.14 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.7625, allocations: 19.52 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.7626, allocations: 19.59 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.828e-05/0.7626, allocations: 317.3 kB / 1.09 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.7626, allocations: 16.05 kB / 1.09 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.7627, allocations: 36.09 kB / 1.09 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.703e-05/0.7627, allocations: 53.12 kB / 1.09 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7627, allocations: 0.9375 kB / 1.09 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.145e-05/0.7628, allocations: 62.44 kB / 1.09 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7628, allocations: 6.797 kB / 1.09 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7628, allocations: 5.031 kB / 1.09 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.7629, allocations: 6.156 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.7629, allocations: 10.23 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.763, allocations: 2.062 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.939e-05/0.763, allocations: 5.375 kB / 1.09 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.763, allocations: 3.844 kB / 1.09 GB, free: 2.605 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.202e-05/0.763, allocations: 113.4 kB / 1.09 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.7631, allocations: 2.094 kB / 1.09 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.7633, allocations: 108.7 kB / 1.09 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.7633, allocations: 6.422 kB / 1.09 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7633, allocations: 1.938 kB / 1.09 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.7633, allocations: 2.047 kB / 1.09 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.571e-05/0.7634, allocations: 166.5 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7634, allocations: 5.125 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.7634, allocations: 16.11 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7635, allocations: 2.094 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.7635, allocations: 10.58 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.7635, allocations: 1.938 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7635, allocations: 5.25 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.7636, allocations: 119.5 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.7636, allocations: 88.31 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.7636, allocations: 14.88 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.7637, allocations: 2.188 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.7637, allocations: 5.672 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.7637, allocations: 5 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.008e-05/0.7637, allocations: 75.28 kB / 1.091 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.7637, allocations: 0 / 1.091 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002226/0.764, allocations: 11.08 kB / 1.091 GB, free: 1.895 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.0003884/0.7644, allocations: 0.6629 MB / 1.092 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.7645, allocations: 40.92 kB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7645, allocations: 0 / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.7645, allocations: 26.95 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.000152/0.7647, allocations: 7.906 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.0003763/0.7651, allocations: 176.7 kB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.7653, allocations: 0.6867 MB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.7654, allocations: 5.984 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.7654, allocations: 13.03 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.7654, allocations: 0 / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.7816, allocations: 1.438 MB / 1.094 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.526, allocations: 7.844 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