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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.006845/0.006845, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001789/0.001789, allocations: 197.3 kB / 16.67 MB, free: 5.949 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.553/2.553, allocations: 482.6 MB / 0.755 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 70.73 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2743, allocations: 162.3 MB / 1.242 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001558/0.2759, allocations: 0.5913 MB / 1.242 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002371/0.2761, allocations: 72.03 kB / 1.243 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.569e-05/0.2762, allocations: 0 / 1.243 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.2762, allocations: 4 kB / 1.243 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-06/0.2762, allocations: 0 / 1.243 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.2764, allocations: 19.92 kB / 1.243 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.423e-05/0.2765, allocations: 11.98 kB / 1.243 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.2765, allocations: 7.984 kB / 1.243 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/0.2765, allocations: 7.938 kB / 1.243 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.2766, allocations: 0 / 1.243 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2766, allocations: 4 kB / 1.243 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.105e-05/0.2767, allocations: 15.98 kB / 1.243 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.2767, allocations: 4 kB / 1.243 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.2767, allocations: 19.91 kB / 1.243 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.089e-05/0.2768, allocations: 19.86 kB / 1.243 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2768, allocations: 0 / 1.243 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2768, allocations: 0 / 1.243 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2768, allocations: 0 / 1.243 GB, free: 8.133 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.0003589/0.2772, allocations: 327.7 kB / 1.243 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2772, allocations: 12.03 kB / 1.243 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.2773, allocations: 34.75 kB / 1.243 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.2773, allocations: 8.875 kB / 1.243 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.2774, allocations: 172.3 kB / 1.243 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2774, allocations: 4.375 kB / 1.243 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.2774, allocations: 4.359 kB / 1.243 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.2776, allocations: 70.55 kB / 1.243 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2776, allocations: 3.938 kB / 1.243 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2776, allocations: 4 kB / 1.243 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2776, allocations: 4 kB / 1.243 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.497e-05/0.2777, allocations: 19.86 kB / 1.243 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.2778, allocations: 181.3 kB / 1.243 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.86e-05/0.2779, allocations: 93.08 kB / 1.244 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.278, allocations: 32.3 kB / 1.244 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.2782, allocations: 93.08 kB / 1.244 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.2782, allocations: 34.56 kB / 1.244 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2782, allocations: 0 / 1.244 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001924/0.2784, allocations: 77.48 kB / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.2785, allocations: 162.2 kB / 1.244 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.573e-05/0.2785, allocations: 90.48 kB / 1.244 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2786, allocations: 25.7 kB / 1.244 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.2786, allocations: 84.14 kB / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.2786, allocations: 15.91 kB / 1.244 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.2787, allocations: 17.7 kB / 1.244 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2788, allocations: 314.8 kB / 1.244 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.2788, allocations: 4 kB / 1.244 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.67e-05/0.2788, allocations: 36.28 kB / 1.245 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.457e-05/0.2789, allocations: 48.23 kB / 1.245 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.2789, allocations: 0 / 1.245 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000103/0.279, allocations: 73.56 kB / 1.245 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.279, allocations: 13.97 kB / 1.245 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2791, allocations: 3.938 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2791, allocations: 0 / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.2791, allocations: 12 kB / 1.245 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2792, allocations: 0 / 1.245 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.2792, allocations: 11.86 kB / 1.245 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.2792, allocations: 8 kB / 1.245 GB, free: 5.699 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.123e-05/0.2793, allocations: 113.8 kB / 1.245 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.2793, allocations: 4.094 kB / 1.245 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.2795, allocations: 104.7 kB / 1.245 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2795, allocations: 4 kB / 1.245 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2795, allocations: 0 / 1.245 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.2795, allocations: 8.156 kB / 1.245 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.2797, allocations: 165.6 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2797, allocations: 0 / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.2797, allocations: 23.92 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2797, allocations: 4 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2798, allocations: 7.938 kB / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2798, allocations: 0 / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2798, allocations: 0 / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.2799, allocations: 120.5 kB / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.28, allocations: 93 kB / 1.245 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.28, allocations: 7.938 kB / 1.245 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.578e-05/0.28, allocations: 0 / 1.245 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.28, allocations: 7.984 kB / 1.245 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.2801, allocations: 12 kB / 1.245 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.2801, allocations: 76.77 kB / 1.245 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2801, allocations: 0 / 1.245 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001921/0.2803, allocations: 8 kB / 1.245 GB, free: 4.844 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.0004746/0.2808, allocations: 0.6631 MB / 1.246 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.2809, allocations: 31.92 kB / 1.246 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2809, allocations: 0 / 1.246 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.2809, allocations: 28.36 kB / 1.246 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.2811, allocations: 12.38 kB / 1.246 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.2815, allocations: 177.8 kB / 1.246 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2817, allocations: 0.6768 MB / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.2818, allocations: 15.98 kB / 1.247 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.2818, allocations: 15.44 kB / 1.247 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.2818, allocations: 0 / 1.247 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3918/0.6736, allocations: 1.428 MB / 1.248 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.466/9.14, allocations: 5.156 kB / 1.248 GB, free: 1.758 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=400 --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