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.006905/0.006905, allocations: 103.5 kB / 15.74 MB, free: 5.992 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.001524/0.001524, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.125/2.125, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 71.89 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.798/0.7992, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001448/0.8007, allocations: 0.5867 MB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002266/0.801, allocations: 71.91 kB / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.593e-05/0.801, allocations: 1 kB / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.801, allocations: 0 / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.923e-06/0.801, allocations: 0 / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.8012, allocations: 26.16 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.207e-05/0.8013, allocations: 7.75 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.8013, allocations: 5.609 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.766e-05/0.8013, allocations: 16.72 kB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.8014, allocations: 9.594 kB / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.8014, allocations: 0 / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-05/0.8015, allocations: 19.67 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.8015, allocations: 2.594 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.8015, allocations: 5.828 kB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.698e-05/0.8016, allocations: 19.95 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8016, allocations: 0.5156 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8016, allocations: 1.438 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.8016, allocations: 3.938 kB / 1.088 GB, free: 4.82 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.000254/0.8019, allocations: 328.7 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.8019, allocations: 9.75 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.152e-05/0.802, allocations: 36.83 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.802, allocations: 0.9375 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.072e-05/0.802, allocations: 167.2 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.802, allocations: 1.812 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.8021, allocations: 6.125 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.963e-05/0.8022, allocations: 71.42 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.8022, allocations: 8.969 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.8022, allocations: 0.5625 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.8022, allocations: 1.156 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.8022, allocations: 12.72 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.8024, allocations: 183.6 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.422e-05/0.8024, allocations: 94.88 kB / 1.089 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.8024, allocations: 43.39 kB / 1.089 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.8026, allocations: 82.89 kB / 1.089 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.8026, allocations: 37.58 kB / 1.089 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.8026, allocations: 0 / 1.089 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001649/0.8028, allocations: 75.95 kB / 1.089 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.8028, allocations: 161.3 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.29e-05/0.8029, allocations: 89.86 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.8029, allocations: 31.39 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-06/0.8029, allocations: 80.14 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.8029, allocations: 19.02 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.8029, allocations: 20.23 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.803, allocations: 316.8 kB / 1.09 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.803, allocations: 4.375 kB / 1.09 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.803, allocations: 36 kB / 1.09 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.383e-05/0.8031, allocations: 50.55 kB / 1.09 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.8031, allocations: 0 / 1.09 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.841e-05/0.8032, allocations: 67.03 kB / 1.09 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.8032, allocations: 5.594 kB / 1.09 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8032, allocations: 5.312 kB / 1.09 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.8032, allocations: 9.734 kB / 1.09 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.8033, allocations: 15.14 kB / 1.09 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.8033, allocations: 9.469 kB / 1.09 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.8034, allocations: 2.234 kB / 1.09 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.8034, allocations: 2.25 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.585e-05/0.8034, allocations: 112.8 kB / 1.09 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.8034, allocations: 2.984 kB / 1.09 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.8036, allocations: 109 kB / 1.09 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.8036, allocations: 3.359 kB / 1.09 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8036, allocations: 1.25 kB / 1.09 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8036, allocations: 1.797 kB / 1.09 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.501e-05/0.8037, allocations: 168 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8037, allocations: 0 / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.8038, allocations: 19.72 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.8038, allocations: 2.094 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.8038, allocations: 10.98 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8038, allocations: 1.062 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8038, allocations: 2.781 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.804, allocations: 123.3 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.804, allocations: 88.36 kB / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.804, allocations: 6.578 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.804, allocations: 5.312 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.8041, allocations: 6.203 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.8041, allocations: 4.156 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.132e-05/0.8041, allocations: 79.73 kB / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8041, allocations: 0 / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002081/0.8043, allocations: 10.72 kB / 1.091 GB, free: 1.898 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.0003488/0.8047, allocations: 0.6588 MB / 1.092 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.8048, allocations: 41.16 kB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8048, allocations: 0 / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.8048, allocations: 27.27 kB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.805, allocations: 3.875 kB / 1.092 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.8053, allocations: 186.8 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.8055, allocations: 0.6803 MB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.8056, allocations: 13.33 kB / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.8056, allocations: 17.52 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8056, allocations: 4 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.8217, allocations: 1.418 MB / 1.094 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.455/10.28, allocations: 11.94 kB / 1.094 GB, free: 15.92 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