Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_latest_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.007779/0.007779, allocations: 102 kB / 15.73 MB, free: 6.051 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.001967/0.001967, allocations: 195 kB / 16.68 MB, free: 5.969 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.738/2.738, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 68.11 kB / 1.054 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3148, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001785/0.3166, allocations: 0.5914 MB / 1.208 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.3169, allocations: 71.64 kB / 1.208 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.785e-05/0.3169, allocations: 0 / 1.208 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.317, allocations: 0 / 1.208 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.075e-06/0.317, allocations: 4 kB / 1.208 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.3172, allocations: 23.92 kB / 1.208 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.068e-05/0.3173, allocations: 11.97 kB / 1.208 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.3173, allocations: 0 / 1.208 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.773e-05/0.3174, allocations: 4 kB / 1.208 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.3174, allocations: 15.92 kB / 1.208 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.3175, allocations: 4 kB / 1.208 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.238e-05/0.3175, allocations: 15.98 kB / 1.208 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.3175, allocations: 3.984 kB / 1.208 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.3176, allocations: 7.938 kB / 1.208 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.404e-05/0.3177, allocations: 15.98 kB / 1.208 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3177, allocations: 0 / 1.208 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3177, allocations: 3.938 kB / 1.208 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3177, allocations: 0 / 1.208 GB, free: 9.328 MB / 0.9669 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.0003532/0.3181, allocations: 327.6 kB / 1.208 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3181, allocations: 12.62 kB / 1.208 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.3182, allocations: 34.75 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.3182, allocations: 0.9375 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.223e-05/0.3183, allocations: 168.3 kB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3183, allocations: 384 / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.3183, allocations: 4.375 kB / 1.209 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3185, allocations: 74.53 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3185, allocations: 11.88 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3185, allocations: 0 / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3185, allocations: 0 / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.3186, allocations: 11.94 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.3187, allocations: 193.2 kB / 1.209 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.57e-05/0.3188, allocations: 97.06 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.3189, allocations: 40.42 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.3191, allocations: 85.11 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3191, allocations: 34.55 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 2.675e-06/0.3191, allocations: 3.984 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001869/0.3193, allocations: 73.5 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.3194, allocations: 166.8 kB / 1.209 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.141e-05/0.3194, allocations: 89.86 kB / 1.209 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3194, allocations: 25.7 kB / 1.209 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.3195, allocations: 80.14 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.3195, allocations: 15.8 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.3196, allocations: 21.72 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3197, allocations: 314.8 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.3197, allocations: 4 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.3197, allocations: 36.3 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.41e-05/0.3198, allocations: 48.22 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3198, allocations: 4 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001032/0.3199, allocations: 61.56 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3199, allocations: 8 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.32, allocations: 3.938 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.32, allocations: 0 / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.3201, allocations: 15.98 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3201, allocations: 7.938 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.3201, allocations: 0 / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3201, allocations: 8.156 kB / 1.21 GB, free: 6.906 MB / 0.9669 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.113e-05/0.3202, allocations: 105.8 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.3202, allocations: 11.91 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.3204, allocations: 112.7 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3204, allocations: 4 kB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3205, allocations: 0 / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3205, allocations: 4 kB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.3206, allocations: 169.6 kB / 1.21 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3206, allocations: 0 / 1.21 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.3207, allocations: 15.94 kB / 1.21 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3207, allocations: 4 kB / 1.21 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3207, allocations: 7.875 kB / 1.21 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3207, allocations: 4 kB / 1.21 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3207, allocations: 0 / 1.21 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.3209, allocations: 128.5 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.3209, allocations: 81.11 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.3209, allocations: 3.938 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.321, allocations: 8 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.321, allocations: 11.98 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.321, allocations: 4 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.186e-05/0.321, allocations: 79.22 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.321, allocations: 0 / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002142/0.3213, allocations: 4 kB / 1.211 GB, free: 6.051 MB / 0.9669 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.0004323/0.3217, allocations: 0.6587 MB / 1.211 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.3218, allocations: 40.11 kB / 1.211 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3218, allocations: 8.125 kB / 1.211 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.3219, allocations: 27.92 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.322, allocations: 4 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.3224, allocations: 186 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.3227, allocations: 0.6901 MB / 1.212 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.3227, allocations: 8 kB / 1.212 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.3228, allocations: 15.44 kB / 1.212 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.3228, allocations: 0 / 1.212 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.3397, allocations: 1.451 MB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/7.928, allocations: 11.78 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches